Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 6721:48bab8b83f4e
Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks.
Removed (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT)
from the signature accordingly.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 03 Oct 2016 15:58:30 +0300 |
parents | 9170240f1241 |
children | adc2414856b1 |
comparison
equal
deleted
inserted
replaced
6720:9170240f1241 | 6721:48bab8b83f4e |
---|---|
70 #endif | 70 #endif |
71 unsigned http2:1; | 71 unsigned http2:1; |
72 #if (NGX_HAVE_INET6) | 72 #if (NGX_HAVE_INET6) |
73 unsigned ipv6only:1; | 73 unsigned ipv6only:1; |
74 #endif | 74 #endif |
75 unsigned deferred_accept:1; | |
75 unsigned reuseport:1; | 76 unsigned reuseport:1; |
76 unsigned so_keepalive:2; | 77 unsigned so_keepalive:2; |
77 unsigned proxy_protocol:1; | 78 unsigned proxy_protocol:1; |
78 | 79 |
79 int backlog; | 80 int backlog; |
91 int tcp_keepcnt; | 92 int tcp_keepcnt; |
92 #endif | 93 #endif |
93 | 94 |
94 #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) | 95 #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) |
95 char *accept_filter; | 96 char *accept_filter; |
96 #endif | |
97 #if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) | |
98 ngx_uint_t deferred_accept; | |
99 #endif | 97 #endif |
100 | 98 |
101 u_char addr[NGX_SOCKADDR_STRLEN + 1]; | 99 u_char addr[NGX_SOCKADDR_STRLEN + 1]; |
102 } ngx_http_listen_opt_t; | 100 } ngx_http_listen_opt_t; |
103 | 101 |