]> git.kaiwu.me - nginx.git/commitdiff
QUIC: log RESET_STREAM final size as a decimal number
authorRoman Arutyunyan <arut@nginx.com>
Tue, 28 Jul 2026 15:04:28 +0000 (19:04 +0400)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Wed, 29 Jul 2026 16:14:43 +0000 (20:14 +0400)
Previously, it was logged as a hexadecimal number.

src/event/quic/ngx_event_quic_frames.c

index 0cd803b0251707d3e16c167fa080808a160bf01d..3b23100a04ece6abb41b5bcb8eca4f491030c9d5 100644 (file)
@@ -809,7 +809,7 @@ ngx_quic_log_frame(ngx_log_t *log, ngx_quic_frame_t *f, ngx_uint_t tx)
 
     case NGX_QUIC_FT_RESET_STREAM:
         p = ngx_slprintf(p, last, "RESET_STREAM"
-                        " id:0x%xL error_code:0x%xL final_size:0x%xL",
+                        " id:0x%xL error_code:0x%xL final_size:%uL",
                         f->u.reset_stream.id, f->u.reset_stream.error_code,
                         f->u.reset_stream.final_size);
         break;