On Fri, 8 Sep 2017, Johny Bravo via curl-library wrote:
I perform curl_multi_perform in a background thread of my GUI app. I am downloading data from HTTPS server. Usually, all is working, however after internet connection is lost and restored again, I receive CURLE_COULDNT_ RESOLVE_HOST and no new download is ever started again (the server is OK - if I stop app and start it again, all is working again until the connection lost)
That sounds like a name resolver problem. So maybe something needs to be reset/reloaded when your internet connection has gone and come back.
If you try to call res_init() when you get CURLE_COULDNT_RESOLVE_HOST and then call curl again, does it make any difference?
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
