Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: unknown frames now logged at info level.

Maxim Dounin
March 05, 2018 02:30PM
details: http://hg.nginx.org/nginx/rev/e80930e5e422
branches:
changeset: 7225:e80930e5e422
user: Maxim Dounin <mdounin@mdounin.ru>
date: Mon Mar 05 21:35:13 2018 +0300
description:
HTTP/2: unknown frames now logged at info level.

diffstat:

src/http/v2/ngx_http_v2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
--- 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);
}

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] HTTP/2: unknown frames now logged at info level.

Maxim Dounin 502 March 05, 2018 02:30PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready