cURL
Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: Problem with Https Post on already opened connections

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Nov 2009 12:46:29 +0100 (CET)

On Thu, 26 Nov 2009, Massimo wrote:

Please don't top-post!

> I'm not sure that the use of CURLOPT_CONNECT_ONLY made impossible a
> following call to curl_easy_perform()

Once you've done CURLOPT_CONNECT_ONLY, you've taken over the control of the
connection and socket and you can basically only do curl_easy_send() and
curl_easy_recv() on it.

If you want to use curl_easy_perform() to send the POST, then don't do
CONNECT_ONLY.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-26

These mail archives are generated by hypermail.

donate! Page updated November 16, 2009.
web site info

File upload with ASP.NET