aboutsummaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-12-05 15:36:26 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-12-05 15:36:26 +0000
commite4505aefd9dc81eb2c51f2739f8dc626f7c3ce93 (patch)
tree91fe6560ef464cff67bedbc1ca69c77d5bb08877 /lib/url.h
parentd6b06128829d41c5e346bff424e48ddce0b7e990 (diff)
downloadgnurl-e4505aefd9dc81eb2c51f2739f8dc626f7c3ce93.tar.gz
gnurl-e4505aefd9dc81eb2c51f2739f8dc626f7c3ce93.tar.bz2
gnurl-e4505aefd9dc81eb2c51f2739f8dc626f7c3ce93.zip
Jared Lundell filed bug report #1604956
(http://curl.haxx.se/bug/view.cgi?id=1604956) which identified setting CURLOPT_MAXCONNECTS to zero caused libcurl to SIGSEGV. Starting now, libcurl will always internally use no less than 1 entry in the connection cache.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index 83706fd73..b92467350 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -47,7 +47,7 @@ CURLcode Curl_protocol_doing(struct connectdata *conn, bool *done);
void Curl_safefree(void *ptr);
/* create a connection cache */
-struct conncache *Curl_mk_connc(int type);
+struct conncache *Curl_mk_connc(int type, int amount);
/* free a connection cache */
void Curl_rm_connc(struct conncache *c);
/* Change number of entries of a connection cache */