Re: CFNetwork with multiple persistent HTTP connections
Re: CFNetwork with multiple persistent HTTP connections
- Subject: Re: CFNetwork with multiple persistent HTTP connections
- From: Joe Ranieri <email@hidden>
- Date: Thu, 16 Jul 2009 11:18:40 -0400
On Jul 16, 2009, at 11:04, Jens Alfke wrote:
On Jul 16, 2009, at 6:26 AM, Joe Ranieri wrote:
What I'm aiming for is having several persistent connections to a
given HTTPS server, and just have requests queue up if all
connections are processing requests. What's the best way to do this
with CFNetwork?
Well, you can create multiple CFStreams, and for each one keep track
of whether you've received a response to every request you've sent
over it. This won't allow the streams to do any HTTP pipelining, but
I don't believe CFNetwork supports that anyway.
Would I create the streams via CFReadStreamCreateForHTTPRequest? Or
should I just ignore that and use CFSocketStream directly?
-- Joe Ranieri
_______________________________________________
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