aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2018-03-05 21:35:13 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2018-03-05 21:35:13 +0300
commit83dceda8688fcba6da9fd12f6480606563d7b7a3 (patch)
treea3992634a5b4d2c05ae6797d2062c669ba4a1d03
parent89ad448f571876ddb191ac082ced855d2a30e2d4 (diff)
downloadnginx-83dceda8688fcba6da9fd12f6480606563d7b7a3.tar.gz
nginx-83dceda8688fcba6da9fd12f6480606563d7b7a3.zip
HTTP/2: unknown frames now logged at info level.
-rw-r--r--src/http/v2/ngx_http_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
index d9df0f90e..32d766b9d 100644
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -783,8 +783,8 @@ ngx_http_v2_state_head(ngx_http_v2_connection_t *h2c, u_char *pos, u_char *end)
type, h2c->state.flags, h2c->state.length, h2c->state.sid);
if (type >= NGX_HTTP_V2_FRAME_STATES) {
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
- "http2 frame with unknown type %ui", type);
+ ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
+ "client sent frame with unknown type %ui", type);
return ngx_http_v2_state_skip(h2c, pos, end);
}