diff src/event/quic/ngx_event_quic_connid.c @ 8997:fab36e4abf83 quic

QUIC: got rid of hash symbol in backup and logging. Now all objectes with sequence number (i.e. sockets, connection ids and paths) are logged as "foo seq:N".
author Vladimir Homutov <vl@nginx.com>
date Fri, 28 Jan 2022 14:57:33 +0300
parents 1e2f4e9c8195
children
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_connid.c
+++ b/src/event/quic/ngx_event_quic_connid.c
@@ -308,7 +308,7 @@ ngx_quic_create_client_id(ngx_connection
     }
 
     ngx_log_debug5(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                   "quic cid #%uL received id:%uz:%xV:%*xs",
+                   "quic cid seq:%uL received id:%uz:%xV:%*xs",
                     cid->seqnum, id->len, id,
                     (size_t) NGX_QUIC_SR_TOKEN_LEN, cid->sr_token);
 
@@ -388,7 +388,7 @@ ngx_quic_handle_retire_connection_id_fra
     }
 
     ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                   "quic socket #%uL is retired", qsock->sid.seqnum);
+                   "quic socket seq:%uL is retired", qsock->sid.seqnum);
 
     ngx_quic_close_socket(c, qsock);