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.html

Reply via email to