cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_CONNECT_ONLY and CURLOPT_FORBID_REUSE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Jun 2009 15:53:56 +0200 (CEST)

On Sun, 31 May 2009, junk_at_igrspace.com wrote:

>>> 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() ?
>>
>> Yes, by not using CURLOPT_FORBID_REUSE. But you must not close it
>> yourself, you should let curl_easy_cleanup() close it.
>
> and in a multi-situation ? Without cleaning up the multi ?

That's simply not possible atm!!

-- 
  / daniel.haxx.se
Received on 2009-06-03