cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_CONNECT_ONLY and CURLOPT_FORBID_REUSE

From: <junk_at_igrspace.com>
Date: Thu, 28 May 2009 08:58:47 -0700

hello,

when i set CURLOPT_CONNECT_ONLY and CURLOPT_FORBID_REUSE
the connection is closed right after getting connected.

Is there a way to use CURLOPT_CONNECT_ONLY and then
manually close the connection after i'm done with
curl_easy_send() and curl_easy_recv() ? Or another way
to prevent libcurl from re-using the connection ?

regards,
Immanuel
Received on 2009-05-28