cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to interrupt libcurl immediatly when connect to a server?

From: dong <ilovedxq_at_163.com>
Date: Wed, 25 Mar 2015 10:56:06 +0800 (CST)

 Hi all,
I want to interrupt libcurl immediately when libcurl connect to a server. I know there is a option CURLOPT_CONNECTTIMEOUT, but it can't interrupt immediately.
Interruption may come out anytime in my program, so is there a good method to handle this situation in libcurl.
Thanks so much!

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-25