listen setfib=X

This commit is contained in:
Igor Sysoev
2010-07-05 13:49:16 +00:00
parent 1a5d7553da
commit 0bd7a7d894
6 changed files with 74 additions and 0 deletions

View File

@@ -295,6 +295,15 @@ if [ $ngx_found != yes ]; then
fi
fi
ngx_feature="SO_SETFIB"
ngx_feature_name="NGX_HAVE_SETFIB"
ngx_feature_run=no
ngx_feature_incs="#include <sys/socket.h>"
ngx_feature_path=
ngx_feature_libs=
ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 4)"
. auto/feature
if [ $NGX_FILE_AIO = YES ]; then