curl-library
Re: Clear connection cache libcurl 7.44
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 Jul 2016 22:12:16 +0200 (CEST)
Date: Wed, 6 Jul 2016 22:12:16 +0200 (CEST)
On Tue, 5 Jul 2016, risto via curl-library wrote:
> I've got a situation where connection cache is kept through internet
> connection change (Wifi -> 3G for example). After network change cURL will
> try to reuse the connection from cache and will fail and open a new
> connection. The problem is that it takes ~20 seconds to understand that the
> connection was dead. Are there any ways to overcome this?
As Ray explained already, we don't offer any way to flush or reset the
connection pool today. What would your suggested approach be if you got to
wish for how it would work?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-07-06