mirror of https://github.com/moparisthebest/curl
ConnectionExists() wrongly returned TRUE for too many connections if proxy
was not used...
This commit is contained in:
parent
997672ba9a
commit
76576cd1e2
|
@ -936,9 +936,11 @@ ConnectionExists(struct UrlData *data,
|
||||||
data->connects[i]=NULL; /* nothing here */
|
data->connects[i]=NULL; /* nothing here */
|
||||||
continue; /* try another one now */
|
continue; /* try another one now */
|
||||||
}
|
}
|
||||||
}
|
|
||||||
*usethis = check;
|
*usethis = check;
|
||||||
return TRUE; /* yes, we found one to use! */
|
return TRUE; /* yes, we found one to use! */
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else { /* The requested needle connection is using a proxy,
|
else { /* The requested needle connection is using a proxy,
|
||||||
is the checked one using the same? */
|
is the checked one using the same? */
|
||||||
|
|
Loading…
Reference in New Issue