From 543370a88a4daf26f5bd64a47d912851b6b667b7 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Feb 2021 13:02:34 +0100 Subject: fixup a set_transfer() in Curl_http2_done --- lib/http2.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1