Mercurial > hg > nginx
diff src/http/v2/ngx_http_v2.c @ 7241:190591ab0d76
HTTP/2: improved frame info debugging.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 19 Mar 2018 21:32:15 +0300 |
parents | 87e9e4aabf1b |
children | d588987701f4 1c6b6163c039 |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -1990,6 +1990,9 @@ ngx_http_v2_state_settings(ngx_http_v2_c return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_SIZE_ERROR); } + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, + "http2 SETTINGS frame"); + return ngx_http_v2_state_settings_params(h2c, pos, end); } @@ -2130,8 +2133,8 @@ ngx_http_v2_state_ping(ngx_http_v2_conne return ngx_http_v2_state_save(h2c, pos, end, ngx_http_v2_state_ping); } - ngx_log_debug1(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, - "http2 PING frame, flags: %ud", h2c->state.flags); + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, + "http2 PING frame"); if (h2c->state.flags & NGX_HTTP_V2_ACK_FLAG) { return ngx_http_v2_state_skip(h2c, pos, end);