Skip navigation.
 
mlrequestWithURL hanging when network is down
FROM : Miguel Arroz
DATE : Sun Apr 24 21:06:34 2005

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

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