diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-04-25 16:25:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-04-25 16:25:42 +0200 |
commit | 030adbceebb209df0486d07d76dedce73238055a (patch) | |
tree | 8242ea497a23205a17e1ba707af0b394e9debe8c /lib/conncache.h | |
parent | 5295e8d64ac6949ecb3f9e564317a608f51b90d8 (diff) | |
download | curl-030adbceebb209df0486d07d76dedce73238055a.tar.gz |
conncache: remove name arg from Curl_conncache_find_bundle
To simplify, and also since the returned name is not the full actual
name used for the check. The port number and zone id is also involved,
so just showing the name is misleading.
Closes #8750
Diffstat (limited to 'lib/conncache.h')
-rw-r--r-- | lib/conncache.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/conncache.h b/lib/conncache.h index e9c1e32f8..ef11dcfd2 100644 --- a/lib/conncache.h +++ b/lib/conncache.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2015 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 2015 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 2012 - 2014, Linus Nielsen Feltzing, <linus@haxx.se> * * This software is licensed as described in the file COPYING, which @@ -87,8 +87,7 @@ void Curl_conncache_destroy(struct conncache *connc); /* return the correct bundle, to a host or a proxy */ struct connectbundle *Curl_conncache_find_bundle(struct Curl_easy *data, struct connectdata *conn, - struct conncache *connc, - const char **hostp); + struct conncache *connc); /* returns number of connections currently held in the connection cache */ size_t Curl_conncache_size(struct Curl_easy *data); |