cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Pipelining combined with CURLOPT_LOCALPORT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 18 Dec 2010 23:20:52 +0100 (CET)

On Thu, 16 Dec 2010, Stefan Krause wrote:

> When I understand you correctly, then the only thing to do to support
> multiple pipelines is to take care, that the local port for easy handles is
> taken into account. Libcurl then pipes requests for existing connections or
> opens new connections in case a connection with the local port does not
> exist yet. Then multiple pipelines may exist within one multi handle. I'm
> not familiar with the libcurl source code in detail, but from logical point
> of view that should work.

Yes that's exactly what I meant. It could be clarified that this would allow
multiple pipelines to the _same_ target host. It already supports multiple
pipelines if you just use different host names.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-18