diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-05-02 23:15:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-03 08:18:15 +0200 |
commit | 5823179523e9ad02a98ab6e184ed120ad2324481 (patch) | |
tree | 10cbf4d06ab938a4681871efb9d0eb05573252b6 /lib/conncache.c | |
parent | 96eb9a862b4d90694f7ba13af1a6acfb98eb87c7 (diff) | |
download | curl-5823179523e9ad02a98ab6e184ed120ad2324481.tar.gz |
connections: non-HTTP proxies on different ports aren't reused either
Reported-by: Oleg Pudeyev and fuchaoqun
Fixes #648
Diffstat (limited to 'lib/conncache.c')
-rw-r--r-- | lib/conncache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/conncache.c b/lib/conncache.c index 930b932b7..d0c09c826 100644 --- a/lib/conncache.c +++ b/lib/conncache.c @@ -140,7 +140,7 @@ static char *hashkey(struct connectdata *conn) else hostname = conn->host.name; - return aprintf("%s:%d", hostname, conn->localport); + return aprintf("%s:%d", hostname, conn->port); } /* Look up the bundle with all the connections to the same host this |