mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
http2: revert call the handle-closed function correctly on closed stream
Reverts 252790c533
Assisted-by: Gergely Nagy
Fixes #7400
Closes #7525
This commit is contained in:
parent
7da2990b19
commit
ccffb6ec16
1 changed files with 0 additions and 4 deletions
|
|
@ -1624,10 +1624,6 @@ static ssize_t http2_recv(struct Curl_easy *data, int sockindex,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if(stream->closed)
|
||||
/* closed overrides paused */
|
||||
return http2_handle_stream_close(conn, data, stream, err);
|
||||
|
||||
/* Nullify here because we call nghttp2_session_send() and they
|
||||
might refer to the old buffer. */
|
||||
stream->upload_mem = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue