Welcome! Log In Create A New Profile

Advanced

[PATCH 2 of 2] Modules compatibility: added QUIC to signature (ticket #2539)

Roman Arutyunyan
September 07, 2023 09:04AM
# HG changeset patch
# User Roman Arutyunyan <arut@nginx.com>
# Date 1694088909 -14400
# Thu Sep 07 16:15:09 2023 +0400
# Node ID 5fc61f98315ec462ef0ff7f7b4bec03109ccc0eb
# Parent 4e312ff4b6ba742a270864b9c6ad7d0484355a7b
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
@@ -191,12 +191,18 @@
#define NGX_MODULE_SIGNATURE_33 "0"
#endif

-#if (NGX_COMPAT)
+#if (NGX_QUIC || NGX_COMPAT)
#define NGX_MODULE_SIGNATURE_34 "1"
#else
#define NGX_MODULE_SIGNATURE_34 "0"
#endif

+#if (NGX_COMPAT)
+#define NGX_MODULE_SIGNATURE_35 "1"
+#else
+#define NGX_MODULE_SIGNATURE_35 "0"
+#endif
+
#define NGX_MODULE_SIGNATURE \
NGX_MODULE_SIGNATURE_0 NGX_MODULE_SIGNATURE_1 NGX_MODULE_SIGNATURE_2 \
NGX_MODULE_SIGNATURE_3 NGX_MODULE_SIGNATURE_4 NGX_MODULE_SIGNATURE_5 \
@@ -209,7 +215,7 @@
NGX_MODULE_SIGNATURE_24 NGX_MODULE_SIGNATURE_25 NGX_MODULE_SIGNATURE_26 \
NGX_MODULE_SIGNATURE_27 NGX_MODULE_SIGNATURE_28 NGX_MODULE_SIGNATURE_29 \
NGX_MODULE_SIGNATURE_30 NGX_MODULE_SIGNATURE_31 NGX_MODULE_SIGNATURE_32 \
- NGX_MODULE_SIGNATURE_33 NGX_MODULE_SIGNATURE_34
+ NGX_MODULE_SIGNATURE_33 NGX_MODULE_SIGNATURE_34 NGX_MODULE_SIGNATURE_35


#define NGX_MODULE_V1 \
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 2] QUIC module compatibility issues

Roman Arutyunyan 338 September 07, 2023 09:04AM

[PATCH 1 of 2] HTTP/3: eliminated v3_session field from ngx_http_connection_t

Roman Arutyunyan 76 September 07, 2023 09:04AM

[PATCH 2 of 2] Modules compatibility: added QUIC to signature (ticket #2539)

Roman Arutyunyan 67 September 07, 2023 09:04AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 343
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready