1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00

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

This commit is contained in:
Johnny Wang 2024-08-06 22:41:40 +08:00 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) {