cURL / Mailing Lists / curl-library / Single Mail

curl-library

programmatically interrupting a curl_easy_perform() transfer

From: John Utz <John.Utz_at_dmx.com>
Date: Thu, 30 Sep 2010 13:54:22 -0700

Hi again;

is there some way to signal curl_easy_perform() to tell it that i would like it to stop now?

from the perspective of the caller, curl_easy_perform() behaves synchronously and thus the program can not act to interrupt curl_easy_perform().

it seems to me that i will need to call curl_easy_perform() in a child thread if i want the ability to kill it off. am i correct? or is there some other mechanism i am missing?

tnx!

johnu

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-30