mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08: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
@ -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…
x
Reference in New Issue
Block a user