views:

250

answers:

1

How can I disable keep-alive when using NSURLConnection? Seems, that after cancelling and close it 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

A: 

Setting timeout on the server solved the problem

Nava Carmon