summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Sinila <freesoftware@logarithmus.dev>2021-08-02 01:34:14 +0300
committerDaniel Stenberg <daniel@haxx.se>2021-08-16 08:44:52 +0200
commitccffb6ec16083f684c440f5b1e532a9ceb149de7 (patch)
tree2be4959c0dd6dab3e013137421e90fb0aed7efae
parent7da2990b199225140bf1adea4caf7fa7b55e4f4b (diff)
downloadcurl-ccffb6ec16083f684c440f5b1e532a9ceb149de7.tar.gz
http2: revert call the handle-closed function correctly on closed stream
Reverts 252790c5335a221 Assisted-by: Gergely Nagy Fixes #7400 Closes #7525
-rw-r--r--lib/http2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/http2.c b/lib/http2.c
index 60e0143c1..394956799 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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;