Mercurial > hg > nginx
diff src/core/ngx_connection.c @ 4016:b044d6553d52
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).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 21 Aug 2011 11:37:37 +0000 |
parents | e3cb8e27e413 |
children | c4513d4dd024 4919fb357a5d |
line wrap: on
line diff
--- a/src/core/ngx_connection.c Fri Aug 19 20:11:39 2011 +0000 +++ b/src/core/ngx_connection.c Sun Aug 21 11:37:37 2011 +0000 @@ -580,7 +580,7 @@ { 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; }