changeset 7225:e80930e5e422

HTTP/2: unknown frames now logged at info level.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 05 Mar 2018 21:35:13 +0300
parents 1ab290cf5267
children 0b1eb40de6da
files src/http/v2/ngx_http_v2.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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_conne
                    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);
     }