cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: connecting twice?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Apr 2002 15:55:05 +0200 (MET DST)

On Thu, 11 Apr 2002, Cervenka Alexander wrote:

> I'm using libcurl from VC++. For some reason curl makes the same connection
> a second time.
>
> Ok, if i'm having a break of ca 10 seconds between curl_easy_perform and
> curl_easy_clenaup it works fine and i'm having one connection.
>
> If i don't have a break between curl_easy_perform and curl_easy_cleanup it
> makes one connction and then a second with the same paramters.

This sounds so utterly weird I'm not sure where to begin!

How can you tell that it reconnects?

Can you single-step through curl_easy_cleanup() to the point where it does
this? I read the code, I can't figure out how this is possible.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-11