From 583c2e2f092937d6f3978fb63130d0db9262d507 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 25 Apr 2001 21:24:27 +0000 Subject: [PATCH] connection re-using didn't work on non-default ports when not using proxy until now --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/url.c b/lib/url.c index 013ebac..d85c614 100644 --- a/lib/url.c +++ b/lib/url.c @@ -930,7 +930,7 @@ ConnectionExists(struct UrlData *data, if(strequal(needle->protostr, check->protostr) && strequal(needle->name, check->name) && - (needle->port == check->port) ) { + (needle->remote_port == check->remote_port) ) { bool dead; if(strequal(needle->protostr, "FTP")) { /* This is FTP, verify that we're using the same name and -- 2.7.4