On 30.03.2011, at 18:47, Quinn The Eskimo! wrote:
> On 30 Mar 2011, at 17:15, Thomas Engelmeier wrote:
>> I'm trying to prevent NSMutableURLRequest / NSURLConnection from closing an connection after roughly 2 secs.
> I presume this in on iOS. On Mac OS X, the HTTP persistent connection cache timeout is much longer (about 30 seconds).
> I've investigated this is in some depth and, AFAICT, there's no way to force NSURLConnection to keep HTTP persistent connections around for longer.
It is on iOS - and I'm trying hard to get rid of the latency and overhead of the SSL renegotiation (many small packets based on UI interactions, i.e. every 5..20 sec, an array of heavy load servers, and the certificate etc. back and forth really makes the iOS clients look lamer than necessary).
What is the recommendation to rearchitect the communication?
CFStream with an socket kept open + CFHTTP?
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden