aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2023-09-13 17:48:15 +0400
committerRoman Arutyunyan <arut@nginx.com>2023-09-13 17:48:15 +0400
commit027b68168867514665751a65780f050952bc48ec (patch)
tree2b193f8dcd78395d4d9d212b07b90b7952b94433 /src/core
parent196289ac18b94c6bb0fa4f5e9a33f12757444399 (diff)
downloadnginx-027b68168867514665751a65780f050952bc48ec.tar.gz
nginx-027b68168867514665751a65780f050952bc48ec.zip
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.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_module.h5
1 files changed, 5 insertions, 0 deletions
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"