http://curl.haxx.se/mail/lib-2011-09/0366.html

>From: Daniel Stenberg <daniel_at_haxx.se
<daniel_at_haxx.se?Subject=Re:%20Closing%20an%20open%20connection%20with%20curl%20easy%20handle>
>
>Date: Thu, 29 Sep 2011 15:04:50 +0200 (CEST)

>>On Thu, 29 Sep 2011, Thibaut Le Guilly wrote:

*>> Is there a proper way to close the connection and clean up the handle? *

>How do I stop an ongoing transfer?

>http://curl.haxx.se/docs/faq.html#How_do_I_stop_an_ongoing_transfe

Does it still hold true?

I wish there was an option to cancel the current request using an easy
handle from other thread. It would have been a lot easier.

Following says that http://curl.haxx.se/libcurl/c/curl_easy_cleanup.html
easy cleanup must be called after easy perform has finished .

Haven't tried it yet but wondering what would happen if someone calls easy
cleanup for easy handle from some other thread?

-Arif
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to