Skip to content

Commit

Permalink
HTTP/2: unknown frames now logged at info level.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdounin committed Mar 5, 2018
1 parent 89ad448 commit 83dceda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/v2/ngx_http_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 83dceda

Please sign in to comment.