annotate src/mysql/config @ 5103:05a56ebb084a
Respect the new behavior of TCP_DEFER_ACCEPT.
In Linux 2.6.32, TCP_DEFER_ACCEPT was changed to accept connections
after the deferring period is finished without any data available.
(Reading from the socket returns EAGAIN in this case.)
Since in nginx TCP_DEFER_ACCEPT is set to "post_accept_timeout", we
do not need to wait longer if deferred accept returns with no data.
author |
Valentin Bartenev <vbart@nginx.com> |
date |
Thu, 07 Mar 2013 17:59:27 +0000 |
parents |
7cbef16c71a1 |
children |
|
rev |
line source |
653
|
1
|
|
2 ngx_addon_name=ngx_mysql
|
|
3
|
|
4 HTTP_MODULES="$HTTP_MODULES ngx_http_mysql_test_module"
|
|
5
|
|
6 HTTP_INCS="$HTTP_INCS $ngx_addon_dir"
|
|
7 HTTP_DEPS="$HTTP_DEPS $ngx_addon_dir/ngx_mysql.h"
|
|
8 #CORE_LIBS="$CORE_LIBS -lmd"
|
|
9
|
|
10 USE_SHA1=YES
|
|
11
|
|
12 NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_mysql.c"
|
|
13 NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mysql_test.c"
|