Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: slightly improved debugging.

October 31, 2016 04:42PM
details: http://hg.nginx.org/nginx/rev/727c6412673a
branches:
changeset: 6790:727c6412673a
user: Ruslan Ermilov <ru@nginx.com>
date: Mon Oct 31 23:38:51 2016 +0300
description:
HTTP/2: slightly improved debugging.

diffstat:

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

diffs (24 lines):

diff -r 4dea01cf49e8 -r 727c6412673a src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c Mon Oct 17 14:30:54 2016 +0300
+++ b/src/http/v2/ngx_http_v2.c Mon Oct 31 23:38:51 2016 +0300
@@ -2592,7 +2592,7 @@ ngx_http_v2_send_rst_stream(ngx_http_v2_
ngx_http_v2_out_frame_t *frame;

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
- "http2 send RST_STREAM frame sid:%ui, status:%uz",
+ "http2 send RST_STREAM frame sid:%ui, status:%ui",
sid, status);

frame = ngx_http_v2_get_frame(h2c, NGX_HTTP_V2_RST_STREAM_SIZE,
@@ -2618,8 +2618,9 @@ ngx_http_v2_send_goaway(ngx_http_v2_conn
ngx_buf_t *buf;
ngx_http_v2_out_frame_t *frame;

- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
- "http2 send GOAWAY frame, status:%uz", status);
+ ngx_log_debug2(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
+ "http2 send GOAWAY frame: last sid %ui, error %ui",
+ h2c->last_sid, status);

frame = ngx_http_v2_get_frame(h2c, NGX_HTTP_V2_GOAWAY_SIZE,
NGX_HTTP_V2_GOAWAY_FRAME,

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

[nginx] HTTP/2: slightly improved debugging.

ru@nginx.com 557 October 31, 2016 04:42PM



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

Online Users

Guests: 307
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