From 60f648f035fa05667b9ccbbea1b3a60d83534d9a Mon Sep 17 00:00:00 2001 From: Daniil Bondarev Date: Tue, 14 Jan 2020 14:20:08 +0300 Subject: [PATCH] =?UTF-8?q?HTTP/2:=C2=A0removed=20ngx=5Fdebug=5Fpoint()=20?= =?UTF-8?q?call.=20=C2=A0=C2=A0=20=C2=A0=20With=20the=20recent=20change=20?= =?UTF-8?q?to=20prevent=20frames=20flood=20in=20d4448892a294,=20nginx=20wi?= =?UTF-8?q?ll=20finalize=20the=20connection=20with=20NGX=5FHTTP=5FV2=5FINT?= =?UTF-8?q?ERNAL=5FERROR=20whenever=20flood=20is=20detected,=20causing=20n?= =?UTF-8?q?ginx=20aborting=20or=20stopping=20if=20the=20debug=5Fpoints=20d?= =?UTF-8?q?irective=20is=20used=20in=20nginx=20config.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/v2/ngx_http_v2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index 9b5a0cd5e..2974e9c79 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -2466,10 +2466,6 @@ ngx_http_v2_connection_error(ngx_http_v2_connection_t *h2c, ngx_log_debug0(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, "http2 state connection error"); - if (err == NGX_HTTP_V2_INTERNAL_ERROR) { - ngx_debug_point(); - } - ngx_http_v2_finalize_connection(h2c, err); return NULL;