From 58b85017a4063916b010de75e7c153576cf660ea Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 3 Oct 2016 15:58:29 +0300 Subject: Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks. Removed NGX_HAVE_REUSEPORT from the signature accordingly. --- src/core/ngx_connection.h | 2 -- src/core/ngx_module.h | 5 ----- 2 files changed, 7 deletions(-) (limited to 'src/core') diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index d9ee6851e..36907dda7 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -69,10 +69,8 @@ struct ngx_listening_s { #if (NGX_HAVE_INET6) unsigned ipv6only:1; #endif -#if (NGX_HAVE_REUSEPORT) unsigned reuseport:1; unsigned add_reuseport:1; -#endif unsigned keepalive:2; #if (NGX_HAVE_DEFERRED_ACCEPT) diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h index 4ddab5604..51a9baa06 100644 --- a/src/core/ngx_module.h +++ b/src/core/ngx_module.h @@ -72,12 +72,7 @@ #endif #define NGX_MODULE_SIGNATURE_9 "1" - -#if (NGX_HAVE_REUSEPORT) #define NGX_MODULE_SIGNATURE_10 "1" -#else -#define NGX_MODULE_SIGNATURE_10 "0" -#endif #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) #define NGX_MODULE_SIGNATURE_11 "1" -- cgit