1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

ConnectionExists() wrongly returned TRUE for too many connections if proxy

was not used...
This commit is contained in:
Daniel Stenberg 2001-03-23 07:46:14 +00:00
parent 997672ba9a
commit 76576cd1e2

View File

@ -936,9 +936,11 @@ ConnectionExists(struct UrlData *data,
data->connects[i]=NULL; /* nothing here */
continue; /* try another one now */
}
}
*usethis = check;
return TRUE; /* yes, we found one to use! */
}
}
else { /* The requested needle connection is using a proxy,
is the checked one using the same? */