mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:37:16 +03:00
http: close the stream (not connection) on time condition abort
Closes #8664
This commit is contained in:
parent
b5a9680577
commit
3fa634a337
1 changed files with 1 additions and 1 deletions
|
|
@ -2955,7 +2955,7 @@ CURLcode Curl_http_firstwrite(struct Curl_easy *data,
|
|||
infof(data, "Simulate a HTTP 304 response!");
|
||||
/* we abort the transfer before it is completed == we ruin the
|
||||
re-use ability. Close the connection */
|
||||
connclose(conn, "Simulated 304 handling");
|
||||
streamclose(conn, "Simulated 304 handling");
|
||||
return CURLE_OK;
|
||||
}
|
||||
} /* we have a time condition */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue