curl-library
Re: pthread_cancel while in curl_easy_perform
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 29 Jan 2013 23:18:44 +0100 (CET)
Date: Tue, 29 Jan 2013 23:18:44 +0100 (CET)
On Tue, 29 Jan 2013, Andrew Strohman wrote:
> I would like to be able to cancel a thread that is in the middle of
> curl_easy_perform without leaking memory or sockets. My first attempt was
> to do this:
All attempts to kill the thread are futile for reasons you've already figured
out.
This question is handled in the FAQ:
http://curl.haxx.se/docs/faq.html#How_do_I_stop_an_ongoing_transfe
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-01-29