开发者

NSURLConnection closed during HTTP Server Push

I am connecting to an HTTP url using NSURLConnection. I am supposed to get r开发者_高级运维esponse (more then one data package) after some time intervals, but NSURLConnection ,immediately, become closed. Is there is any way to prevent this? Or the CFNetwork would be only solution?


Are you using NSURLConnection within an NSOperation, or some of other kind of managed background thread?

The nature of async operations can cause this to happen. More information would help diagnose this issue though.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜