cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP Pipelining combined with CURLOPT_LOCALPORT

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Dec 2010 14:57:31 +0100 (CET)

On Sun, 19 Dec 2010, Stefan Krause wrote:

> I can give it a try. Can you point me the file where the connection stuff is
> located?

lib/url.c:ConnectionExists() is the function that checks if curl already has a
connection in its "cache" to the same host so that it can be re-used, and
similarly if an existing connection can be used to pipeline this new request
on.

That function needs to be extended to care about bound local addresses.

> For the change I think using using the current head revision is best or
> should I base it on the latest release?

Current head is best.

> How it will then be integrated? Do I send a patch to you or what is the way
> to go here?

Yes, please post a patch on this list so that anyone interested can review,
try it and so on.

-- 
  / 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-22