Mercurial > hg > nginx
changeset 9163:32b5aaebcca5
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 13 Sep 2023 17:48:15 +0400 |
parents | f9845e4b5c14 |
children | 3db945fda515 |
files | src/core/ngx_module.h |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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"