curl-library
Re: dead connections are not cleaned up on new requests (follow-up)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 13 Aug 2014 00:01:08 +0200 (CEST)
Date: Wed, 13 Aug 2014 00:01:08 +0200 (CEST)
On Tue, 12 Aug 2014, Jonatan Vela wrote:
> I found the cause for the error. The function Curl_conncache_foreach() does
> not work properly with callback functions that delete entries in the
> connection cache.
>
> With the attached patch I got rid of the valgrind error.
Excellent! Thanks for your work on this. I've just pushed this patch to the
git repo.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-08-13