+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:] doesn't respect queue width

Originator:doug
Number:rdar://12450281 Date Originated:
Status:Open Resolved:
Product:Mac OS X SDK Product Version:10.7+
Classification:Serious Bug Reproducible:Always
 
07-Oct-2012 02:31 PM Doug Russell:
+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:] will spawn more threads than the passed in queues width, eventually leading to thread exhaustion.

Here's a sample project to demonstrate the issue
http://cl.ly/2C2s2h3R123q

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!