Mercurial > hg > nginx
comparison src/http/v2/ngx_http_v2.c @ 6480:f01ab2dbcfdc
Fixed logging.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 31 Mar 2016 02:33:57 +0300 |
parents | 4d1d3c2530e0 |
children | 92464ebace8e |
comparison
equal
deleted
inserted
replaced
6479:dc92298b1852 | 6480:f01ab2dbcfdc |
---|---|
2122 if (end - pos < NGX_HTTP_V2_PING_SIZE) { | 2122 if (end - pos < NGX_HTTP_V2_PING_SIZE) { |
2123 return ngx_http_v2_state_save(h2c, pos, end, ngx_http_v2_state_ping); | 2123 return ngx_http_v2_state_save(h2c, pos, end, ngx_http_v2_state_ping); |
2124 } | 2124 } |
2125 | 2125 |
2126 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, | 2126 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, h2c->connection->log, 0, |
2127 "http2 PING frame, flags: %ui", h2c->state.flags); | 2127 "http2 PING frame, flags: %ud", h2c->state.flags); |
2128 | 2128 |
2129 if (h2c->state.flags & NGX_HTTP_V2_ACK_FLAG) { | 2129 if (h2c->state.flags & NGX_HTTP_V2_ACK_FLAG) { |
2130 return ngx_http_v2_state_skip(h2c, pos, end); | 2130 return ngx_http_v2_state_skip(h2c, pos, end); |
2131 } | 2131 } |
2132 | 2132 |