aboutsummaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-16 21:50:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-16 21:50:29 +0000
commit2d5fc39d3573c10a460cdeb2139631da62b8e391 (patch)
tree7a10af6d214a8b45860080bf357969f4223e040c /lib/url.h
parentc001ed53fa89f203e3d6aa402e9a9126dc34f5b1 (diff)
Resize the connection cache upwards when adding more handles than what
currently fits in the cache, to make the cache work better especially for pipelining cases but also for "mere" (persistent) connection re-use.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/url.h b/lib/url.h
index 4b65a7ab7..e1754c333 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -50,6 +50,10 @@ void Curl_safefree(void *ptr);
struct conncache *Curl_mk_connc(int type);
/* free a connection cache */
void Curl_rm_connc(struct conncache *c);
+/* Change number of entries of a connection cache */
+CURLcode Curl_ch_connc(struct SessionHandle *data,
+ struct conncache *c,
+ long newamount);
int Curl_protocol_getsock(struct connectdata *conn,
curl_socket_t *socks,