How to disable HTTP/2 in NSURLSession?
Is there any way to configure an NSURLSession (in iOS 9 / OS X 10.11) to _not_ use HTTP/2? I have two reasons for wanting this: 1. I think I’ve found some compatibility problems, either in NSURLSession or on the server side, that are causing errors when my library communicates over HTTP/2. I may need to disable it when talking to this type of server. 2. I have debugging tools like HTTPScoop that don’t support HTTP/2. Yesterday I really needed to use HTTPScoop to view HTTP traffic to troubleshoot a bug, but I couldn’t because I had no way to fall back to HTTP/1.1. —Jens _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jens Alfke