Skip navigation.
 
mlRe: requestWithURL hanging when network is down
FROM : Marc Respass
DATE : Mon Apr 25 17:04:43 2005

Miguel,

What are you doing next? I think NSURLRequest needs to be used with 
NSURLConnection or NSURLDownload. On my system, docs are 
file:///Developer/ADC%20Reference%20Library/documentation/Cocoa/
Conceptual/URLLoadingSystem/index.html

Is your app hanging or just never returning? What else is going on?

Marc

On Apr 24, 2005, at 3:06 PM, Miguel Arroz wrote:

> Hi!
>
>  I'm testing requestWithURL with the following call:
>
>  [NSURLRequest requestWithURL:[NSURL URLWithString:MY_URL]
>                 cachePolicy:NSURLRequestReloadIgnoringCacheData
>              timeoutInterval:30.0]
>
>  The problem is that, if I turn off my ADSL modem, the program stays 
> in this call forever. It does not respect the 30 seconds timeout. Is 
> this normal? Am I doing something wrong?
>
>  Yours
>
> Miguel Arroz
>
>      "GUERRA E' PAZ
>        LIBERDADE E' ESCRAVIDAO
>        IGNORANCIA E' FORCA"      -- 1984
>
>  Miguel Arroz - <email_removed> - http://guiamac.com/bagos
>
> _______________________________________________
> MacOSX-dev mailing list
> <email_removed>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>

Related mailsAuthorDate
mlrequestWithURL hanging when network is down Miguel Arroz Apr 24, 21:06
mlRe: requestWithURL hanging when network is down Marc Respass Apr 25, 17:04
mlRe: requestWithURL hanging when network is down Miguel Arroz Apr 25, 19:24
mlRe: requestWithURL hanging when network is down Becky Willrich Apr 25, 19:34
mlRe: requestWithURL hanging when network is down Markus Hitter Apr 25, 20:32
mlRe: requestWithURL hanging when network is down Miguel Arroz Apr 25, 23:54