From: Lukáš Ježek Date: Fri, 12 Mar 2021 11:12:22 +0000 (+0100) Subject: daemon/http: refuse stream on failure X-Git-Tag: v5.3.1~11^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48e846fca4eff3d9bcc17726d50aa68a423af1e;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); } /*