conncache: done always evaluates to false
Follow-up to c9b95c0bb3
Spotted by CodeSonar
Reviewed-by: Stefan Eissing
Closes #14034
This commit is contained in:
parent
9a49af5fd8
commit
fde2143df7
@ -690,7 +690,7 @@ static void connc_discard_conn(struct conncache *connc,
|
|||||||
* not what we want. */
|
* not what we want. */
|
||||||
if(aborted)
|
if(aborted)
|
||||||
done = TRUE;
|
done = TRUE;
|
||||||
else if(!done) {
|
if(!done) {
|
||||||
/* Attempt to shutdown the connection right away. */
|
/* Attempt to shutdown the connection right away. */
|
||||||
Curl_attach_connection(data, conn);
|
Curl_attach_connection(data, conn);
|
||||||
connc_run_conn_shutdown(data, conn, &done);
|
connc_run_conn_shutdown(data, conn, &done);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user