aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_core_module.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-10-03 15:58:30 +0300
committerRuslan Ermilov <ru@nginx.com>2016-10-03 15:58:30 +0300
commit2e12afb955a211f55bfdcb3f3d92fc1b42d9dc99 (patch)
tree28b339219f9cd6e9f2b5f1a8dc9bc12da97d5028 /src/http/ngx_http_core_module.h
parent58b85017a4063916b010de75e7c153576cf660ea (diff)
downloadnginx-2e12afb955a211f55bfdcb3f3d92fc1b42d9dc99.tar.gz
nginx-2e12afb955a211f55bfdcb3f3d92fc1b42d9dc99.zip
Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks.
Removed (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) from the signature accordingly.
Diffstat (limited to 'src/http/ngx_http_core_module.h')
-rw-r--r--src/http/ngx_http_core_module.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 78f69e224..628679ff3 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -72,6 +72,7 @@ typedef struct {
#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
+ unsigned deferred_accept:1;
unsigned reuseport:1;
unsigned so_keepalive:2;
unsigned proxy_protocol:1;
@@ -94,9 +95,6 @@ typedef struct {
#if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER)
char *accept_filter;
#endif
-#if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT)
- ngx_uint_t deferred_accept;
-#endif
u_char addr[NGX_SOCKADDR_STRLEN + 1];
} ngx_http_listen_opt_t;