From: Lukáš Ježek Date: Fri, 12 Mar 2021 11:12:22 +0000 (+0100) Subject: daemon/http: refuse stream on failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a8b4adce170b34fec214153e7f938aad901c2a;p=thirdparty%2Fknot-resolver.git daemon/http: refuse stream on failure --- diff --git a/daemon/http.c b/daemon/http.c index d31280fce..b1ee725be 100644 --- a/daemon/http.c +++ b/daemon/http.c @@ -304,6 +304,8 @@ static void http_status_reinit_error(struct http_ctx *ctx, int stream_id) queue_pop(ctx->streams); http_status_reinit(ctx, stream_id); + + nghttp2_submit_rst_stream(ctx->h2, NGHTTP2_FLAG_NONE, stream_id, NGHTTP2_REFUSED_STREAM); } /*