diff src/event/ngx_event_quic.c @ 8609:f32740ddd484 quic

QUIC: got rid of "pkt" abbreviation in logs.
author Vladimir Homutov <vl@nginx.com>
date Mon, 26 Oct 2020 23:47:49 +0300
parents 4a05f0f3dfce
children 7a9ab6f7cea3
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1921,12 +1921,12 @@ ngx_quic_input(ngx_connection_t *c, ngx_
 #if (NGX_DEBUG)
         if (pkt.parsed) {
             ngx_log_debug5(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                           "quic pkt %s done decr:%d pn:%L perr:%ui rc:%i",
+                           "quic packet %s done decr:%d pn:%L perr:%ui rc:%i",
                            ngx_quic_level_name(pkt.level), pkt.decrypted,
                            pkt.pn, pkt.error, rc);
         } else {
             ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                           "quic pkt done parse failed rc:%i", rc);
+                           "quic packet done parse failed rc:%i", rc);
         }
 #endif
 
@@ -1999,10 +1999,11 @@ ngx_quic_process_packet(ngx_connection_t
     qc = c->quic;
 
 #if (NGX_DEBUG)
-    ngx_quic_hexdump(c->log, "quic pkt rx dcid", pkt->dcid.data, pkt->dcid.len);
+    ngx_quic_hexdump(c->log, "quic packet rx dcid",
+                     pkt->dcid.data, pkt->dcid.len);
 
     if (pkt->level != ssl_encryption_application) {
-        ngx_quic_hexdump(c->log, "quic pkt rx scid", pkt->scid.data,
+        ngx_quic_hexdump(c->log, "quic packet rx scid", pkt->scid.data,
                          pkt->scid.len);
     }
 #endif
@@ -4551,7 +4552,7 @@ ngx_quic_send_frames(ngx_connection_t *c
     res.data = dst;
 
     ngx_log_debug6(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                   "quic pkt tx %s bytes:%ui"
+                   "quic packet tx %s bytes:%ui"
                    " need_ack:%d number:%L encoded nl:%d trunc:0x%xD",
                    ngx_quic_level_name(start->level), out.len, pkt.need_ack,
                    pkt.number, pkt.num_len, pkt.trunc);