From 027b68168867514665751a65780f050952bc48ec Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 13 Sep 2023 17:48:15 +0400 Subject: [PATCH] Modules compatibility: added QUIC to signature (ticket #2539). Enabling QUIC changes ngx_connection_t layout, which is why it should be added to the signature. --- src/core/ngx_module.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 6fb455426..a415cd6d9 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h @@ -107,7 +107,12 @@ #endif #define NGX_MODULE_SIGNATURE_17 "0" + +#if (NGX_QUIC || NGX_COMPAT) +#define NGX_MODULE_SIGNATURE_18 "1" +#else #define NGX_MODULE_SIGNATURE_18 "0" +#endif #if (NGX_HAVE_OPENAT) #define NGX_MODULE_SIGNATURE_19 "1"