curl-library
Re: Connection times out after first curl_easy_perform call
Date: Thu, 14 Dec 2006 07:24:30 -0500
Daniel
Thank you for the feedback about the server closing the connection. I
looked more at the output from the command line statemenys, and noticed that
the connection was closed after the first step for the command line. The
second step created a new connection. I'll modify the C++ code to use two
connections.
John
>From: Daniel Stenberg <daniel_at_haxx.se>
>Reply-To: libcurl development <curl-library_at_cool.haxx.se>
>To: libcurl development <curl-library_at_cool.haxx.se>
>Subject: Re: Connection times out after first curl_easy_perform call
>Date: Thu, 14 Dec 2006 11:01:44 +0100 (CET)
>
>On Wed, 13 Dec 2006, John Vorwald wrote:
>
>>Is the procedure that I'm using secure?
>
>I don't think anyone can say that with a huge degree of confident, but sure
>the HTTPS with a verified server certificate should make it fairly sure
>that you're doing encrypted communication with the correct server.
>
>>how do I remain connected after the first curl_easy_perform call?
>
>In a typical situation libcurl will stay connected if it can and it it
>can't, there's not much you can do about it.
>
>>Connection: close
>
>^^^ this is the server telling the client that it will close the connection
>after the response.
>
>--
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-12-14