diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-03 15:58:29 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-03 15:58:29 +0300 |
commit | 58b85017a4063916b010de75e7c153576cf660ea (patch) | |
tree | c4c2244accacd44fef9d073cb2dbd476fed0d3b6 /src | |
parent | 0a961a09171fc1de3f3a70aa6b15e29d3882f7f0 (diff) | |
download | nginx-58b85017a4063916b010de75e7c153576cf660ea.tar.gz nginx-58b85017a4063916b010de75e7c153576cf660ea.zip |
Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks.
Removed NGX_HAVE_REUSEPORT from the signature accordingly.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_connection.h | 2 | ||||
-rw-r--r-- | src/core/ngx_module.h | 5 | ||||
-rw-r--r-- | src/http/ngx_http_core_module.h | 2 | ||||
-rw-r--r-- | src/stream/ngx_stream.h | 2 |
4 files changed, 0 insertions, 11 deletions
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" diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index fdd70041d..78f69e224 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -72,9 +72,7 @@ typedef struct { #if (NGX_HAVE_INET6) unsigned ipv6only:1; #endif -#if (NGX_HAVE_REUSEPORT) unsigned reuseport:1; -#endif unsigned so_keepalive:2; unsigned proxy_protocol:1; diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h index 7cb8ae31d..15b96ff19 100644 --- a/src/stream/ngx_stream.h +++ b/src/stream/ngx_stream.h @@ -55,9 +55,7 @@ typedef struct { #if (NGX_HAVE_INET6) unsigned ipv6only:1; #endif -#if (NGX_HAVE_REUSEPORT) unsigned reuseport:1; -#endif unsigned so_keepalive:2; unsigned proxy_protocol:1; #if (NGX_HAVE_KEEPALIVE_TUNABLE) |