• 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: HTTP Pipelining
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTP Pipelining


  • Subject: Re: HTTP Pipelining
  • From: Becky Willrich <email@hidden>
  • Date: Mon, 12 Dec 2005 10:26:17 -0800

NSURLConnection uses persistent connections (that's what the "Connection: keep-alive" header means), but it does not pipeline because of the large number of servers in the wild that choke on pipelined transactions.

CFHTTPStream using persistent connections does pipeline by default; maybe you can use that? See CFNetwork/CFHTTPStream.h for details.

REW



On Dec 10, 2005, at 2:20 AM, Tomas Franzén wrote:

Hi,

(I posted this message on the Cocoa list, but I didn't get any replies, so I figured this list might be more appropriate.)

I'm planning to write an app in Cocoa that needs to download a lot of HTTP resources as quickly as possible. Hence, I would like to use pipelining to use one connection for multiple requests (for HTTP 1.1 servers). I noticed that NSURLConnection sends the header "Connection: keep-alive" which would suggest that it does implement pipelining.

Does NSURLConnection use pipelining? If so, how do I use it (or is it automatic somehow)?
If not, what alternative ways of fetching pipelined HTTP resources do you recommend?


Thanks!

Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/ _______________________________________________
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

_______________________________________________ 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:
    • URLAccess Stalls
      • From: email@hidden
References: 
 >HTTP Pipelining (From: Tomas Franzén <email@hidden>)

  • Prev by Date: Re(2): kpi event sequence question
  • Next by Date: URLAccess Stalls
  • Previous by thread: HTTP Pipelining
  • Next by thread: URLAccess Stalls
  • Index(es):
    • Date
    • Thread