On 29 Nov 2011, at 18:31, Jeff Johnson wrote:
> Is there any way to prevent NSURLConnection from retrying after the connection is closed?
There are a bunch of different retry mechanisms built in to NSURLConnection. Most of them don't have knobs to twiddle, and you'll have to move to a lower layer to prevent the retry (as per Jens's suggestion). However, before you do that you should check whether your -connection:willSendRequest:redirectResponse: delegate method is being called. If so, you can use it to stop the retry.
Share and Enjoy
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden