patches: added initialize_quic_transport_id_variable.patch for nginx >= 1.27.0. (#993)

pull/994/head
Johnny Wang 4 months ago committed by GitHub
parent 8b119bceb7
commit 4da52a0574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,11 @@
--- nginx-1.27.0/src/event/quic/ngx_event_quic_transport.c 2024-08-06 16:52:18.545250210 +0800
+++ nginx-1.27.0-patched/src/event/quic/ngx_event_quic_transport.c 2024-08-06 16:52:29.691035755 +0800
@@ -1720,7 +1720,7 @@
ngx_quic_parse_transport_params(u_char *p, u_char *end, ngx_quic_tp_t *tp,
ngx_log_t *log)
{
- uint64_t id, len;
+ uint64_t id = 0, len;
ngx_int_t rc;
while (p < end) {
Loading…
Cancel
Save