NSMutableURLRequest timeoutInterval is not working?

I test with iPod, NSMutableURLRequest 's timeoutInterval property is not working for me as expected.

If I set it to a value less than 75, it works OK, but when I set it to a value bigger than 75 the actual timeout will always happens in 75 seconds.

My http method is POST.


isn't this a bug of iOS?


please help.

I've seen reports of this in the past but never been able to nail down the circumstances under which it happens. I'd like to dig into this but that's not something I can do in the context of DevForums. If you'd like to open a DTS tech support incident, we can pick things up there.


<https://developer.apple.com/support/technical/submit/>


Alternatively, if you just want to work around this and then move on, you can run the request asynchronously and use an NSTimer to enforce whatever timeout you require.


Share and Enjoy

--

Quinn "The Eskimo!"

Apple Developer Relations, Developer Technical Support, Core OS/Hardware

Thanks for your respone eskimo,

I have summit a DTS incident and sent sample app source in reply to the mail from DTS.

If I could I would upload my sample source code here, in case anyone else willing to test and help, but I can not find a way to upload file here.

> I have summit a DTS incident and sent sample app source in reply to

> the mail from DTS.


Cool. I will pick things up there.


> If I could I would upload my sample source code here, in case anyone

> else willing to test and help, but I can not find a way to upload file

> here.


Alas the forums do not support attachments, although it is something we're looking into <rdar://problem/20971255> <rdar://problem/20971224>.


Share and Enjoy

--

Quinn "The Eskimo!"

Apple Developer Relations, Developer Technical Support, Core OS/Hardware

NSMutableURLRequest timeoutInterval is not working?
 
 
Q