From 2e12afb955a211f55bfdcb3f3d92fc1b42d9dc99 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 3 Oct 2016 15:58:30 +0300 Subject: Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks. Removed (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) from the signature accordingly. --- src/core/ngx_connection.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/core/ngx_connection.h') diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 36907dda7..1472090e5 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -73,14 +73,12 @@ struct ngx_listening_s { unsigned add_reuseport:1; unsigned keepalive:2; -#if (NGX_HAVE_DEFERRED_ACCEPT) unsigned deferred_accept:1; unsigned delete_deferred:1; unsigned add_deferred:1; -#ifdef SO_ACCEPTFILTER +#if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) char *accept_filter; #endif -#endif #if (NGX_HAVE_SETFIB) int setfib; #endif -- cgit