Skip to content

Commit

Permalink
Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks.
Browse files Browse the repository at this point in the history
Removed NGX_HAVE_REUSEPORT from the signature accordingly.
  • Loading branch information
mdounin committed Oct 3, 2016
1 parent 0a961a0 commit 58b8501
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions src/core/ngx_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 0 additions & 5 deletions src/core/ngx_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions src/http/ngx_http_core_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions src/stream/ngx_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 58b8501

Please sign in to comment.