summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-02-15 13:02:34 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-02-15 13:02:34 +0100
commit543370a88a4daf26f5bd64a47d912851b6b667b7 (patch)
treed4e3a892a0146d33598a2bdb4b3f0af06cd65abe
parent8b7f5f43d9c7e7b8dbfe6631eb7356e3f3b632da (diff)
downloadcurl-bagder/h2-alt-conn-data.tar.gz
fixup a set_transfer() in Curl_http2_donebagder/h2-alt-conn-data
-rw-r--r--lib/http2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http2.c b/lib/http2.c
index c0220ac22..c6507e6f6 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -1204,6 +1204,7 @@ void Curl_http2_done(struct Curl_easy *data, bool premature)
if(premature) {
/* RST_STREAM */
+ set_transfer(httpc, data); /* set the transfer */
if(!nghttp2_submit_rst_stream(httpc->h2, NGHTTP2_FLAG_NONE,
http->stream_id, NGHTTP2_STREAM_CLOSED))
(void)nghttp2_session_send(httpc->h2);