cURL / Mailing Lists / curl-library / Single Mail


Re: pthread_cancel while in curl_easy_perform

From: Daniel Stenberg <>
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

This question is handled in the FAQ:

List admin:
Received on 2013-01-29