diff src/event/quic/ngx_event_quic_migration.c @ 8985:da24a78720eb quic

QUIC: fixed handling of initial source connection id. This was broken in 1e2f4e9c8195. While there, adjusted formatting of debug message with socket seqnum.
author Vladimir Homutov <vl@nginx.com>
date Wed, 26 Jan 2022 15:48:12 +0300
parents 077a1e403446
children fab36e4abf83
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_migration.c
+++ b/src/event/quic/ngx_event_quic_migration.c
@@ -346,8 +346,8 @@ update:
     path->received += len;
 
     ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
-                   "quic packet len:%O via sock#%uL path#%uL",
-                   len, qsock->sid.seqnum, path->seqnum);
+                   "quic packet len:%O via sock#%L path#%uL",
+                   len, (int64_t) qsock->sid.seqnum, path->seqnum);
     ngx_quic_path_dbg(c, "status", path);
 
     return NGX_OK;