From: Daniel Stenberg Date: Wed, 25 Apr 2001 21:24:27 +0000 (+0000) Subject: connection re-using didn't work on non-default ports when not using proxy X-Git-Tag: curl-7_7_3~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=583c2e2f092937d6f3978fb63130d0db9262d507;p=thirdparty%2Fcurl.git connection re-using didn't work on non-default ports when not using proxy until now --- diff --git a/lib/url.c b/lib/url.c index 013ebac704..d85c614049 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