diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-01-18 11:56:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-01-19 09:14:51 +0100 |
commit | a304051620b92e12b6b1b4e19edc57b34ea332b6 (patch) | |
tree | 6611cb1f943e6eecebedd4fa19ec5d1716a38ccc /lib/conncache.h | |
parent | bbe3aa9f881fa27fe828e3c9a36d6831f254a3ee (diff) | |
download | curl-a304051620b92e12b6b1b4e19edc57b34ea332b6.tar.gz |
lib: more conn->data cleanups
Closes #6479
Diffstat (limited to 'lib/conncache.h')
-rw-r--r-- | lib/conncache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/conncache.h b/lib/conncache.h index ab878caf3..e9c1e32f8 100644 --- a/lib/conncache.h +++ b/lib/conncache.h @@ -85,7 +85,8 @@ int Curl_conncache_init(struct conncache *, int size); void Curl_conncache_destroy(struct conncache *connc); /* return the correct bundle, to a host or a proxy */ -struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn, +struct connectbundle *Curl_conncache_find_bundle(struct Curl_easy *data, + struct connectdata *conn, struct conncache *connc, const char **hostp); /* returns number of connections currently held in the connection cache */ @@ -93,8 +94,7 @@ size_t Curl_conncache_size(struct Curl_easy *data); bool Curl_conncache_return_conn(struct Curl_easy *data, struct connectdata *conn); -CURLcode Curl_conncache_add_conn(struct conncache *connc, - struct connectdata *conn) WARN_UNUSED_RESULT; +CURLcode Curl_conncache_add_conn(struct Curl_easy *data) WARN_UNUSED_RESULT; void Curl_conncache_remove_conn(struct Curl_easy *data, struct connectdata *conn, bool lock); |