cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: freeing up handles

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 15 Apr 2004 23:18:24 +0200 (CEST)

On Thu, 15 Apr 2004, emerson, jeff wrote:

> 1. I'm using libcurl 7.11.1.
> 2. Statically linked.
>
> Since we last spoke, I've discovered it only occurs when using libcurl with
> SSL. I went back and used the standard version of libcurl - without ssl -
> and all worked well - the handles were released properly. But, when I use
> libcurl with ssl incorporated into it, the problem reappears.

And you are using https:// URLs to make the problem appear, right?

> If I open and close curl every time I want it to call it, a new handle is
> created, but never released.

What is a "handle" exactly? What kind of system call creates it?

> If I open curl only once and perform curl commands against that 1 instance
> for the entire run of the program, it releases the handles properly.

Then it sounds like curl somehow causes this leak.

What OpenSSL version are you using?

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-15