curl-library
curl_multi_perform in background thread and HTTPS
From: Johny Bravo via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 08 Sep 2017 14:45:16 +0200 (CEST)
Received on 2017-09-08
Date: Fri, 08 Sep 2017 14:45:16 +0200 (CEST)
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)
I am using curl with iOS ssl library.
My code is attached (MyStringAnsi is more or less std::string)
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
- text/x-c attachment: DataDownloader.cpp
- text/x-c++ attachment: DataDownloader.h