• 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
URLSession on iOS 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: URLSession on iOS 10
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Prev by Date: NSURLSession in iOS 10 has issues
  • Next by Date: Re: URLSession on iOS 10
  • Previous by thread: NSURLSession in iOS 10 has issues
  • Next by thread: Re: URLSession on iOS 10
  • Index(es):
    • Date
    • Thread