From e4505aefd9dc81eb2c51f2739f8dc626f7c3ce93 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 5 Dec 2006 15:36:26 +0000 Subject: 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. --- lib/url.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.h') 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 */ -- cgit v1.2.3