curl-library
Re: curl_easy_cleanup and curl-multi
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 8 Jun 2005 23:19:04 +0200 (CEST)
Date: Wed, 8 Jun 2005 23:19:04 +0200 (CEST)
On Wed, 8 Jun 2005, Zibiao.Wei_at_atxinc.com wrote:
> I am surprised to see the easy handle keeps previous connections alive
> instead of only the latest one. Does it hold all connection history or
> only a limit number?
This "connection cache" is documented on numerous places. libcurl keeps N
connections alive for re-use purposes. You control the N amount with
CURLOPT_MAXCONNECTS, it defaults to 5.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-06-08