[PATCH 6 of 6] Modules compatibility: added QUIC to signature (ticket #2539)
Roman Arutyunyan
arut at nginx.com
Thu Sep 14 10:17:09 UTC 2023
# HG changeset patch
# User Roman Arutyunyan <arut at nginx.com>
# Date 1694612895 -14400
# Wed Sep 13 17:48:15 2023 +0400
# Node ID fa644e50bbba40db23047818a4fedc1cc9651385
# Parent 54829df980cc8d5975280f355f2a8c1a9cff2e79
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.
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h
--- 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"
More information about the nginx-devel
mailing list