mirror of
https://github.com/curl/curl.git
synced 2026-08-05 03:56:12 +03:00
http: streamclose "already downloaded"
Instead of connclose()ing, since when HTTP/2 is used it doesn't need to close the connection as stopping the current transfer is enough. Reported-by: Evangelos Foutras Closes #8665
This commit is contained in:
parent
9ca6cd924c
commit
854ec76551
1 changed files with 1 additions and 1 deletions
|
|
@ -2927,7 +2927,7 @@ CURLcode Curl_http_firstwrite(struct Curl_easy *data,
|
|||
/* The resume point is at the end of file, consider this fine even if it
|
||||
doesn't allow resume from here. */
|
||||
infof(data, "The entire document is already downloaded");
|
||||
connclose(conn, "already downloaded");
|
||||
streamclose(conn, "already downloaded");
|
||||
/* Abort download */
|
||||
k->keepon &= ~KEEP_RECV;
|
||||
*done = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue