cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: can Curl use socket() created by application?

From: Michael Wood <esiotrot_at_gmail.com>
Date: Fri, 19 Aug 2011 16:17:45 +0200

On 19 August 2011 14:53, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Fri, 19 Aug 2011, amit paliwal wrote:
[...]
>> When we use CONNECT_ONLY option, after doing some transfer by
>> curl_easy_send() and curl_easy_recv(), is it possible to use
>> curl_easy_perform() to send HTTP POST message.
>
> No, not on the same connection. CONNECT_ONLY is a one way street and once
> you've taken the socket there's no way to return it to libcurl.

I think this idea came from some speculation by Dan Fandrich:

http://curl.haxx.se/mail/lib-2010-11/0215.html

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-19