[nginx] Modules compatibility: added QUIC to signature (ticket #2539).
Roman Arutyunyan
arut at nginx.com
Fri Sep 22 15:36:40 UTC 2023
details: https://hg.nginx.org/nginx/rev/32b5aaebcca5
branches:
changeset: 9163:32b5aaebcca5
user: Roman Arutyunyan <arut at nginx.com>
date: Wed Sep 13 17:48:15 2023 +0400
description:
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:
src/core/ngx_module.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r f9845e4b5c14 -r 32b5aaebcca5 src/core/ngx_module.h
--- a/src/core/ngx_module.h Thu Sep 14 14:15:20 2023 +0400
+++ b/src/core/ngx_module.h Wed Sep 13 17:48:15 2023 +0400
@@ -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