Skip to content

Commit

Permalink
HTTP/2: removed ngx_debug_point() call.
Browse files Browse the repository at this point in the history
    
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.
  • Loading branch information
xonatius committed Jan 14, 2020
1 parent fb34316 commit 60f648f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/http/v2/ngx_http_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 60f648f

Please sign in to comment.