curl-library
Re: CURLMOPT_MAXCONNECTS
From: Patrick Scott <phanna_at_google.com>
Date: Mon, 2 Feb 2009 13:47:22 -0500
Received on 2009-02-02
Date: Mon, 2 Feb 2009 13:47:22 -0500
Attached is the source of 10-at-a-time.c modified to load all the urls
at the same time.
Patrick
On Mon, Feb 2, 2009 at 1:16 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 2 Feb 2009, Patrick Scott wrote:
>
>> I just ran valgrind and found that all the non-cached connections were
>> leaked. I call curl_easy_cleanup for each handle and then curl_multi_cleanup
>> at the end. In curl_easy_cleanup, ConnectionDone is called for the
>> connection and lastconnect is set to connectindex (which is -1). Could there
>> be a legitimate leak here?
>
> Given this description it certainly sounds like that. Can you present us the
> source code for an app that reproduces this leak?
>
> --
>
> / daniel.haxx.se
>
- text/x-c++src attachment: test.cpp