Mercurial > hg > nginx-quic
diff src/event/ngx_event_quic_transport.c @ 8167:4a05f0f3dfce quic
QUIC: added "rx" and "tx" prefixes to packet debug.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 26 Oct 2020 23:47:16 +0300 |
parents | eed49b83e18f |
children | f32740ddd484 |
line wrap: on
line diff
--- a/src/event/ngx_event_quic_transport.c +++ b/src/event/ngx_event_quic_transport.c @@ -326,7 +326,7 @@ ngx_quic_parse_long_header(ngx_quic_head } ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pkt->log, 0, - "quic long packet flags:%xd version:%xD", + "quic pkt rx long flags:%xd version:%xD", pkt->flags, pkt->version); if (!(pkt->flags & NGX_QUIC_PKT_FIXED_BIT)) { @@ -540,7 +540,7 @@ ngx_quic_parse_short_header(ngx_quic_hea end = pkt->data + pkt->len; ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0, - "quic short packet flags:%xd", pkt->flags); + "quic pkt rx short flags:%xd", pkt->flags); if (!(pkt->flags & NGX_QUIC_PKT_FIXED_BIT)) { ngx_log_error(NGX_LOG_INFO, pkt->log, 0, "quic fixed bit is not set"); @@ -597,7 +597,7 @@ ngx_quic_parse_initial_header(ngx_quic_h } ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0, - "quic initial packet len:%uL", varint); + "quic pkt rx initial len:%uL", varint); if (varint > (uint64_t) ((pkt->data + pkt->len) - p)) { ngx_log_error(NGX_LOG_INFO, pkt->log, 0, @@ -636,7 +636,7 @@ ngx_quic_parse_handshake_header(ngx_quic } ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0, - "quic handshake packet len:%uL", plen); + "quic pkt rx handshake len:%uL", plen); if (plen > (uint64_t)((pkt->data + pkt->len) - p)) { ngx_log_error(NGX_LOG_INFO, pkt->log, 0,