Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 7618:8a7b59347401
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.
author | Daniil Bondarev <bondarev@amazon.com> |
---|---|
date | Tue, 14 Jan 2020 14:20:08 +0300 |
parents | 8e64e11aaca0 |
children | 72b792bb3885 |
comparison
equal
deleted
inserted
replaced
7617:f1720934c45b | 7618:8a7b59347401 |
---|---|
2464 ngx_uint_t err) | 2464 ngx_uint_t err) |
2465 { | 2465 { |
2466 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, | 2466 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, |
2467 "http2 state connection error"); | 2467 "http2 state connection error"); |
2468 | 2468 |
2469 if (err == NGX_HTTP_V2_INTERNAL_ERROR) { | |
2470 ngx_debug_point(); | |
2471 } | |
2472 | |
2473 ngx_http_v2_finalize_connection(h2c, err); | 2469 ngx_http_v2_finalize_connection(h2c, err); |
2474 | 2470 |
2475 return NULL; | 2471 return NULL; |
2476 } | 2472 } |
2477 | 2473 |