annotate src/mysql/config @ 4384:a8b6d5dee539
Fixed interaction of limit_rate and sendfile_max_chunk.
It's possible that configured limit_rate will permit more bytes per
single operation than sendfile_max_chunk. To protect disk from takeover
by a single client it is necessary to apply sendfile_max_chunk as a limit
regardless of configured limit_rate.
See here for report (in Russian):
http://mailman.nginx.org/pipermail/nginx-ru/2010-March/032806.html
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Mon, 26 Dec 2011 10:51:24 +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"
|