diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2016-10-31 23:38:51 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2016-10-31 23:38:51 +0300 |
| commit | 5a273f2e9042b74467ba217800b9c7b2fe3b4a31 (patch) | |
| tree | e04dbbd0f7833f7f27fcaf6dcb429b0967df06bf /src | |
| parent | d970e099c6b0303395f89e0556f2812bd1d87cf0 (diff) | |
| download | nginx-5a273f2e9042b74467ba217800b9c7b2fe3b4a31.tar.gz nginx-5a273f2e9042b74467ba217800b9c7b2fe3b4a31.tar.bz2 | |
HTTP/2: slightly improved debugging.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/v2/ngx_http_v2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index 8f3d9ee8f..83016304a 100644 --- a/src/http/v2/ngx_http_v2.c +++ b/src/http/v2/ngx_http_v2.c @@ -2592,7 +2592,7 @@ ngx_http_v2_send_rst_stream(ngx_http_v2_connection_t *h2c, ngx_uint_t sid, 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_connection_t *h2c, ngx_uint_t status) 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, |
