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?



Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to