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
精彩评论