connection re-using didn't work on non-default ports when not using proxy

until now
This commit is contained in:
Daniel Stenberg 2001-04-25 21:24:27 +00:00
parent 90cce2ae3a
commit 583c2e2f09

View File

@ -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