NOT ATS -- NSURLConnection 200 Response with no data - iOS 9 Beta 1

Hi,


I am experiencing a successful network request (with 200 response) but no data. I am using NSURLConnection. So what happened is, one of my delegate callback is not getting called.


Flow:

- connection:didReceiveResponse:

- connection:didReceiveData: (not being called)

- connectionDidFinishLoading:


So when the `didReceiveResponse:` is called, the response come back as 200. However, the `didReceiveData:` part is skipped and the `didFinishLoading:` is called straight away. This results in no data at all and this doesnt always happen but it happens intermittently.


Any help would be appreciated. I put a "NOT ATS" above in the title as I am aware about the new security concept introduced and I am pretty sure that we are using TLS 1.2.


---

Cheers,

Rendy

TLS 2.0?


Do you mean 1.2?

Thanks for correcting me. Fixed

Been fighting this one for days. Have not gotten any closer to an answer. It's getting conflated, ignored, and marked as duplicate because people assume it's ATS. Really annoying...

FYI: Also being tracked on github dot com AFNetworking/AFNetworking issue #2783

NOT ATS -- NSURLConnection 200 Response with no data - iOS 9 Beta 1
 
 
Q