From be963bee4e2020eacbc8048bd23982bd72ca6140 Mon Sep 17 00:00:00 2001 From: swananan Date: Fri, 12 Sep 2025 11:21:23 +0800 Subject: [PATCH] bugfix: add HTTP/3 QUIC SSL Lua yield patch macro protection. --- .../1.27.1/nginx-1.27.1-quic_ssl_lua_yield.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/nginx/1.27.1/nginx-1.27.1-quic_ssl_lua_yield.patch b/patches/nginx/1.27.1/nginx-1.27.1-quic_ssl_lua_yield.patch index a23a000..edb95f6 100644 --- a/patches/nginx/1.27.1/nginx-1.27.1-quic_ssl_lua_yield.patch +++ b/patches/nginx/1.27.1/nginx-1.27.1-quic_ssl_lua_yield.patch @@ -1,3 +1,16 @@ +diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h +index 1861be601..5a25172ed 100644 +--- a/src/core/ngx_config.h ++++ b/src/core/ngx_config.h +@@ -18,6 +18,8 @@ + #endif + + ++#define HAVE_QUIC_SSL_LUA_YIELD_PATCH 1 ++ + #if (NGX_FREEBSD) + #include + diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index c03b1d003..ffb21490c 100644 --- a/src/event/quic/ngx_event_quic.c