aboutsummaryrefslogtreecommitdiff
path: root/lib/conncache.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/conncache.h')
-rw-r--r--lib/conncache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/conncache.h b/lib/conncache.h
index dc4867d0d..cff750983 100644
--- a/lib/conncache.h
+++ b/lib/conncache.h
@@ -30,6 +30,13 @@ struct conncache {
struct timeval last_cleanup;
};
+struct connectbundle {
+ bool server_supports_pipelining; /* TRUE if server supports pipelining,
+ set after first response */
+ size_t num_connections; /* Number of connections in the bundle */
+ struct curl_llist *conn_list; /* The connectdata members of the bundle */
+};
+
int Curl_conncache_init(struct conncache *, int size);
void Curl_conncache_destroy(struct conncache *connc);