From 5823179523e9ad02a98ab6e184ed120ad2324481 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 May 2016 23:15:05 +0200 Subject: connections: non-HTTP proxies on different ports aren't reused either Reported-by: Oleg Pudeyev and fuchaoqun Fixes #648 --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index b1453e697..70ccd0f82 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3376,7 +3376,7 @@ ConnectionExists(struct SessionHandle *data, } } - if(!needle->bits.httpproxy || (needle->handler->flags&PROTOPT_SSL) || + if(!needle->bits.proxy || (needle->handler->flags&PROTOPT_SSL) || (needle->bits.httpproxy && check->bits.httpproxy && needle->bits.tunnel_proxy && check->bits.tunnel_proxy && Curl_raw_equal(needle->proxy.name, check->proxy.name) && -- cgit v1.2.3