cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Re: [PATCH] Include local IP address in the connection cache hash

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 12 Mar 2013 17:55:04 +0100

On 03/12/2013 03:53 PM, Joe Mason wrote:
>> From: curl-library [curl-library-bounces_at_cool.haxx.se] on behalf of
>> Linus Nielsen Feltzing [linus_at_haxx.se] Sent: Tuesday, March 12,
>> 2013 5:44 AM To: libcurl development Subject: Re: Fwd: Re: [PATCH]
>> Include local IP address in the connection cache hash
>>
>> New patch, with a better commit message.
>
> This patch still doesn't update the calls to
> Curl_conncache_find_bundle in url.c. Am I missing something?

Holy cow! I am so lame!

> Also I wonder if it might be better performance to allocate a
> host+localip key once when creating a connection, and then keep it
> around to be reused, rather than having to malloc and free every time
> you look up a bundle.

Good point.

I'll have a good look at it and rework this.

Thanks for having a look at it.

Linus
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-12