Im trying to download a file using NSURLConnection I've prepared the url request, delegate methods, etc. I also set the timeout to 15.0 and I'm triggering the download on main thread with a code like this:
NSURLConnection *connection = [[NSURLConnection alloc] initWithRequest:urlRequest delegate:self];
[connection start];
This code works just fine but in case of no response from server there is no callback to delegate method for errors.
- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
Regards