• 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
How to disable HTTP/2 in NSURLSession?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to disable HTTP/2 in NSURLSession?


  • Subject: How to disable HTTP/2 in NSURLSession?
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 17 May 2016 09:16:37 -0700

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Next by Date: Detecting that Mac is tethered to a phone's cell connection
  • Next by thread: Detecting that Mac is tethered to a phone's cell connection
  • Index(es):
    • Date
    • Thread