我正在使用NSURLConnection
POST使用 https 连接到流媒体服务器。看起来数据流过,但似乎总是在 6 分钟后发生。我在 Windows 上有另一个实现,它立即从服务器接收数据,所以我知道它不是服务器。是否有一些设置阻止数据和响应更快返回?我的预感是触发了某种超时。我已经多次运行这个测试,它总是在 6 分钟左右。
2013-07-04 21:35:45.072[65315:207] connection: willSendRequest: redirectResponse: (null)
2013-07-04 21:35:45.075[65315:207] connectionShouldUseCredentialStorage:
2013-07-04 21:35:45.239[65315:207] connection: canAuthenticateAgainstProtectionSpace: <NSURLProtectionSpace: 0x5b7ca20>
2013-07-04 21:35:45.291[65315:207] connection: didSendBodyData: 505 totalBytesWritten: 505 totalBytesExpectedToWrite: 505
2013-07-04 21:41:46.306[65315:207] connection: didReceiveResponse: 200, no error
2013-07-04 21:41:46.307[65315:207] connection: didReceiveData: 514 bytes