diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2011-08-21 11:37:37 +0000 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2011-08-21 11:37:37 +0000 |
commit | ec8186c733ec24534ecf34f6fd65e01571e09526 (patch) | |
tree | 0496577cab1e6499b4d249e1409b962c51e95ba5 /src/core/ngx_connection.c | |
parent | 5a52d67a0899031bfb4d93fbee76e3d0c6c32558 (diff) | |
download | nginx-ec8186c733ec24534ecf34f6fd65e01571e09526.tar.gz nginx-ec8186c733ec24534ecf34f6fd65e01571e09526.zip |
Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure.
NetBSD 5.0+ has SO_ACCEPTFILTER support merged from FreeBSD, and having
accept filter check in FreeBSD-specific ngx_freebsd_config.h prevents it
from being used on NetBSD. Therefore move the check into configure (and
do the same for Linux-specific TCP_DEFER_ACCEPT, just to be in line).
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r-- | src/core/ngx_connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 9f19fcc4f..3674b9a74 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -580,7 +580,7 @@ ngx_configure_listening_sockets(ngx_cycle_t *cycle) { ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, "setsockopt(SO_ACCEPTFILTER, \"%s\") " - " for %V failed, ignored", + "for %V failed, ignored", ls[i].accept_filter, &ls[i].addr_text); continue; } |