• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Spoon-feeding NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Spoon-feeding NSURLConnection
      • From: Mark Pauley <email@hidden>
References: 
 >Spoon-feeding NSURLConnection (From: Jens Alfke <email@hidden>)
 >Re: Spoon-feeding NSURLConnection (From: Josh Graessley <email@hidden>)
 >Re: Spoon-feeding NSURLConnection (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Spoon-feeding NSURLConnection
  • Next by Date: Re: Spoon-feeding NSURLConnection
  • Previous by thread: Re: Spoon-feeding NSURLConnection
  • Next by thread: Re: Spoon-feeding NSURLConnection
  • Index(es):
    • Date
    • Thread