curl-library
break out of the curl_easy_perform loop
From: Deven via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 11 Aug 2018 16:09:28 +0530
Date: Sat, 11 Aug 2018 16:09:28 +0530
Hi,
I am using curl to send email. I am using the curl easy interface which
blocks until the operation is complete.
res = curl_easy_perform( curl ) ;
Some operations would takes on tens of seconds to complete (at least in
case of errors).
Now, I would like to cleanly close the application which uses the curl
easy interface. The curl operation happens in a separate thread. Is
there a way to cancel the curl operation, break out of the blocking curl
easy perform function?
Thanks,
-Deven
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-11