mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08: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
@ -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…
Reference in New Issue
Block a user