URLSession on iOS 10
URLSession on iOS 10
- Subject: URLSession on iOS 10
- From: Rick Mann <email@hidden>
- Date: Mon, 21 Nov 2016 23:14:48 -0800
URLSession seems to really be broken on iOS 10 (compared to iOS 9). I am constantly getting "too many files open" errors now (both device and simulator), and I also am seeing "A server with the specified hostname could not be found" after a time. The latter goes away if I restart the simulator. I don't know if I'm seeing this on the device. I know the hostname is fine because all my downloads are to the same host, and many of them complete.
I used to set up thousands of downloads per session, but now I'm throttling it to 4 at a time per session. One or two simultaneous sessions seems okay, but between 5 and 11, I start to get the "too many open files" problem.
This is concerning.
Note that a single session, even with a thousand downloads, seems to work okay. A very large session can fail though.
Radar 29280854
--
Rick Mann
email@hidden
_______________________________________________
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