2

Due to an IOS 8 bug, I want to disable keepalive temporary on my nginx server.

I tried this:

keepalive_disable safari;
keepalive_timeout 0;

I'm not sure for the browser name for iOS SDK...

Actually, I can always see that in my HTTP header on my app:

Connection = "keep-alive";

How to disable keep-alive for iOS NSURLConnection or, if not possible, how to disable it for all requests.

Thanks,

alex.bour
  • 2,842
  • 9
  • 40
  • 66

1 Answers1

-1

This answer is for Apache, but I think it will give you a clue for nginx - Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost."

Community
  • 1
  • 1
dachiz
  • 521
  • 1
  • 4
  • 6