cURL / Mailing Lists / curl-library / Single Mail


How to interrupt libcurl immediatly when connect to a server?

From: dong <>
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:
Received on 2015-03-25