diff options
author | Roman Arutyunyan <arut@nginx.com> | 2023-09-13 17:48:15 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2023-09-13 17:48:15 +0400 |
commit | 027b68168867514665751a65780f050952bc48ec (patch) | |
tree | 2b193f8dcd78395d4d9d212b07b90b7952b94433 /src/core | |
parent | 196289ac18b94c6bb0fa4f5e9a33f12757444399 (diff) | |
download | nginx-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.h | 5 |
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" |