diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2016-11-02 11:47:12 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2016-11-02 11:47:12 +0300 |
commit | 6917d29d409b187d440d8e5012a1353398e3a365 (patch) | |
tree | 2875252b67bb847ea2f2ecb3fe9ceb2834680210 /src | |
parent | 0438b6049855c4f20e4c13c719badacd19308a5c (diff) | |
download | nginx-6917d29d409b187d440d8e5012a1353398e3a365.tar.gz nginx-6917d29d409b187d440d8e5012a1353398e3a365.zip |
HTTP/2: flow control debugging.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/v2/ngx_http_v2_filter_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c index 4ab779121..878020e5a 100644 --- a/src/http/v2/ngx_http_v2_filter_module.c +++ b/src/http/v2/ngx_http_v2_filter_module.c @@ -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; |