mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
parent
35c7aac3c6
commit
c7bc689fc3
2 changed files with 4 additions and 3 deletions
|
|
@ -639,7 +639,7 @@ static CURLcode multi_done(struct Curl_easy *data,
|
|||
) || conn->bits.close
|
||||
|| (premature && !(conn->handler->flags & PROTOPT_STREAM))) {
|
||||
CURLcode res2;
|
||||
conn->bits.close = TRUE; /* forcibly prevents reuse */
|
||||
connclose(conn, "disconnecting");
|
||||
CONN_UNLOCK(data);
|
||||
res2 = Curl_disconnect(data, conn, premature);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue