curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Lack of connection re-use from cache when LOCALPORT/LOCALPORTRANGE has been specified but INTERFACE has not

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 22 Nov 2016 16:13:37 -0500

On 11/22/2016 8:48 AM, Daniel Stenberg wrote:
> On Tue, 22 Nov 2016, bjt 3 wrote:
>
>> Thanks. This matches some experiments that I did, and leads me to
>> infer that you don't necessarily believe that the current code should
>> be so strict. Is it reasonable to further believe that
>> needle->localdev == NULL should match any check->localdev value ?
>
> Yes, I think that is correct. If a new request doesn't have a localdev
> requirement, it can still reuse an existing connection that has such a
> requirement.

Landed in https://github.com/curl/curl/commit/3e9c023

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-22