But res_init is not part of CURL, so the app wont be transferable to other
platforms.
---------- Původní e-mail ----------
Od: Daniel Stenberg <[email protected]>
Komu: Johny Bravo via curl-library <[email protected]>
Datum: 8. 9. 2017 15:32:02
Předmět: Re: curl_multi_perform in background thread and HTTPS
"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