Re: Spoon-feeding NSURLConnection
Re: Spoon-feeding NSURLConnection
- Subject: Re: Spoon-feeding NSURLConnection
- From: Jens Alfke <email@hidden>
- Date: Wed, 27 Jun 2012 17:19:17 -0700
On Jun 27, 2012, at 4:30 PM, Jens Alfke wrote: Also, this only appears to work on Mac OS, while I can only reproduce the bug on iOS :-(
Nope, I was wrong; fortunately it does work on iOS, at least the simulator. I just had to look at the top of the console output to find the path of the CFNetwork log file, then open that file.
The CFNetwork log seems to show exactly what I suspected. One of the resource GETs is getting blocked by the hanging-GET request; if I configure the hanging-GET to time out after 30 sec, then I see in the packet dumps that its TCP connection ends, and then the blocked resource GET is immediately sent *on the same file descriptor*. On Mac OS 10.7 this doesn't happen.
(Log available by request; it's 125k so I didn't want to attach it here.)
—Jens |
_______________________________________________
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