curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Wrong connection reuse - curl_easy_send/recv with curl_multi

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 18 Feb 2019 22:58:01 +0100 (CET)

On Mon, 18 Feb 2019, Pavel Löbl wrote:

> I have also tried to make some requests without proxy directly to forking
> socat running on localhost and the connection was also reused. So it looks
> like it's not bound to curl proxy functionality but it seems more likely to
> be a timing issue (seems to happen when connections are fast).

Based on your description and reading the example code, I propose this fix.
It'd be great if you could try it out and see if it helps you.

   https://github.com/curl/curl/pull/3586

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-02-18