• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFNetwork with multiple persistent HTTP connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: CFNetwork with multiple persistent HTTP connections
      • From: Jens Alfke <email@hidden>
References: 
 >CFNetwork with multiple persistent HTTP connections (From: Joe Ranieri <email@hidden>)
 >Re: CFNetwork with multiple persistent HTTP connections (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: CFNetwork with multiple persistent HTTP connections
  • Next by Date: Re: CFNetwork with multiple persistent HTTP connections
  • Previous by thread: Re: CFNetwork with multiple persistent HTTP connections
  • Next by thread: Re: CFNetwork with multiple persistent HTTP connections
  • Index(es):
    • Date
    • Thread