diff options
author | Daniil Bondarev <bondarev@amazon.com> | 2020-01-14 14:20:08 +0300 |
---|---|---|
committer | Daniil Bondarev <bondarev@amazon.com> | 2020-01-14 14:20:08 +0300 |
commit | 60f648f035fa05667b9ccbbea1b3a60d83534d9a (patch) | |
tree | ef0af18f6cafc6bc8b6f46288228b3f487848663 | |
parent | fb34316d68511bd0986d3153dfea93d21363016d (diff) |
HTTP/2: removed ngx_debug_point() call.
With the recent change to prevent frames flood in d4448892a294,
nginx will finalize the connection with NGX_HTTP_V2_INTERNAL_ERROR
whenever flood is detected, causing nginx aborting or stopping if
the debug_points directive is used in nginx config.
-rw-r--r-- | src/http/v2/ngx_http_v2.c | 4 |
1 files changed, 0 insertions, 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; |