]> git.kaiwu.me - nginx.git/commit
Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 21 Aug 2011 11:37:37 +0000 (11:37 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 21 Aug 2011 11:37:37 +0000 (11:37 +0000)
commitec8186c733ec24534ecf34f6fd65e01571e09526
tree0496577cab1e6499b4d249e1409b962c51e95ba5
parent5a52d67a0899031bfb4d93fbee76e3d0c6c32558
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).
auto/unix
src/core/ngx_connection.c
src/os/unix/ngx_freebsd_config.h
src/os/unix/ngx_linux_config.h