cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Option CURLOPT_MAXCONNECTS is unavailable in curl-7.29.0

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Mar 2013 15:54:07 +0100 (CET)

On Tue, 26 Mar 2013, Steven Gu wrote:

> I debug the codes of curl-7.29.0, there is a multi handle is initialized in
> the function curl_easy_perform, the maxconnects is not set to the multi
> handle. The value of maxconnects of the internal multi handle is always 0.
>
> Please help review the function ConnectionDone in the lib/url.c. The
> connections could not be closed if I set a small value (for example, 1) to
> the option CURLOPT_MAXCONNECTS.

Oh right. This sounds like a plausible side-effect of the switch over to
always using the multi interface code internally.

Any chance you can write up a test case for us that repeats the problem that
we can use to make sure we fix it? Or even give a shot at fixing it?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-27