mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
James Bursa fixed a bug in the multi handle code that made the connection
cache grow a bit too much, beyond the normal 4 * easy_handles.
This commit is contained in:
parent
bcfe3cb231
commit
ad19f95f15
4
CHANGES
4
CHANGES
@ -6,6 +6,10 @@
|
||||
|
||||
Changelog
|
||||
|
||||
Daniel S (7 May 2007)
|
||||
- James Bursa fixed a bug in the multi handle code that made the connection
|
||||
cache grow a bit too much, beyond the normal 4 * easy_handles.
|
||||
|
||||
Daniel S (2 May 2007)
|
||||
- Anders Gustafsson remarked that requiring CURLOPT_HTTP_VERSION set to 1.0
|
||||
when CURLOPT_HTTP200ALIASES is used to avoid the problem mentioned below is
|
||||
|
@ -37,6 +37,7 @@ This release includes the following bugfixes:
|
||||
o curl_multi_socket() not "noticing" newly added handles
|
||||
o lack of Content-Length and chunked encoding now requires HTTP 1.1 as well
|
||||
to be treated as without response body
|
||||
o connection cache growth in multi handles
|
||||
|
||||
This release includes the following known bugs:
|
||||
|
||||
@ -61,6 +62,6 @@ advice from friends like these:
|
||||
Song Ma, Dan Fandrich, Yang Tse, Jay Austin, Robert Iakobashvil,
|
||||
James Housley, Daniel Black, Steve Little, Sonia Subramanian, Peter O'Gorman,
|
||||
Frank Hempel, Michael Wallner, Jeff Pohlmeyer, Tobias Rundström,
|
||||
Anders Gustafsson
|
||||
Anders Gustafsson, James Bursa
|
||||
|
||||
Thanks! (and sorry if I forgot to mention someone)
|
||||
|
@ -485,7 +485,7 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle,
|
||||
the shared cache every single easy handle had 5 entries in their cache
|
||||
by default. */
|
||||
CURLcode res = Curl_ch_connc(easy_handle, multi->connc,
|
||||
multi->connc->num*4);
|
||||
multi->num_easy * 4);
|
||||
if(res != CURLE_OK)
|
||||
/* TODO: we need to do some cleaning up here! */
|
||||
return CURLM_OUT_OF_MEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user