Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: flow control debugging.

Sergey Kandaurov
November 02, 2016 04:50AM
details: http://hg.nginx.org/nginx/rev/45d553812055
branches:
changeset: 6792:45d553812055
user: Sergey Kandaurov <pluknet@nginx.com>
date: Wed Nov 02 11:47:12 2016 +0300
description:
HTTP/2: flow control debugging.

diffstat:

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

diffs (14 lines):

diff -r cb4a4e9bba8e -r 45d553812055 src/http/v2/ngx_http_v2_filter_module.c
--- a/src/http/v2/ngx_http_v2_filter_module.c Tue Nov 01 20:39:21 2016 +0300
+++ b/src/http/v2/ngx_http_v2_filter_module.c Wed Nov 02 11:47:12 2016 +0300
@@ -1079,6 +1079,10 @@ static ngx_inline ngx_int_t
ngx_http_v2_flow_control(ngx_http_v2_connection_t *h2c,
ngx_http_v2_stream_t *stream)
{
+ ngx_log_debug3(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0,
+ "http2:%ui available windows: conn:%uz stream:%z",
+ stream->node->id, h2c->send_window, stream->send_window);
+
if (stream->send_window <= 0) {
stream->exhausted = 1;
return NGX_DECLINED;

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

[nginx] HTTP/2: flow control debugging.

Sergey Kandaurov 412 November 02, 2016 04:50AM



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

Online Users

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