cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: how many curl handles application can have at a time

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 26 Feb 2004 12:26:01 +0100 (CET)

On Wed, 25 Feb 2004, Jerry G. Chiuan wrote:

> > And if you use multiple requests, libcurl will keep the last N ones alive
> > in its connection cache, where N is default set to 5.
>
> so how can we change this N?

CURLOPT_MAXCONNECTS is your friend:

  http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTMAXCONNECTS

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-26