开发者

disable keep-alive in NSURLConnection

How can I disable keep-alive when using NSURLConnection? Seems, that after cancelling and close i开发者_开发技巧t it still saves somewhere a socket that I was connected to server with and while the server fetches for information i cannot access another urls from the same server. I wonder if there is a way to completely reset a socket and start another one.

Thanks,

Nava


Setting timeout on the server solved the problem

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜