aboutsummaryrefslogtreecommitdiff
path: root/lib/conncache.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-28 12:14:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-28 16:23:59 +0200
commit2f11fbf208c78d38e9a19b1224238c4ecff5989f (patch)
tree52ca77fbba326655ca035b53a210248c8f014594 /lib/conncache.h
parent8581e1928ea8e125021408ec071fcedb0276c7fe (diff)
conncache: make "bundles" per host name when doing proxy tunnels
Only HTTP proxy use where multiple host names can be used over the same connection should use the proxy host name for bundles. Reported-by: Tom van der Woerdt Fixes #3951 Closes #3955
Diffstat (limited to 'lib/conncache.h')
-rw-r--r--lib/conncache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/conncache.h b/lib/conncache.h
index 35be9e0aa..58f902409 100644
--- a/lib/conncache.h
+++ b/lib/conncache.h
@@ -54,7 +54,8 @@ 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 conncache *connc);
+ struct conncache *connc,
+ const char **hostp);
void Curl_conncache_unlock(struct Curl_easy *data);
/* returns number of connections currently held in the connection cache */
size_t Curl_conncache_size(struct Curl_easy *data);