diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-09-16 21:50:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-09-16 21:50:29 +0000 |
commit | 2d5fc39d3573c10a460cdeb2139631da62b8e391 (patch) | |
tree | 7a10af6d214a8b45860080bf357969f4223e040c /lib/urldata.h | |
parent | c001ed53fa89f203e3d6aa402e9a9126dc34f5b1 (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/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 9f8e6de80..d90c6cd08 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -951,7 +951,7 @@ struct conncache { /* 'connects' will be an allocated array with pointers. If the pointer is set, it holds an allocated connection. */ struct connectdata **connects; - long num; /* size of the 'connects' array */ + long num; /* number of entries of the 'connects' array */ enum { CONNCACHE_PRIVATE, /* used for an easy handle alone */ CONNCACHE_MULTI /* shared within a multi handle */ |