annotate src/mysql/config @ 5909:8d0cf26ce071
Upstream: different header lists for cached and uncached requests.
The upstream modules remove and alter a number of client headers
before sending the request to upstream. This set of headers is
smaller or even empty when cache is disabled.
It's still possible that a request in a cache-enabled location is
uncached, for example, if cache entry counter is below min_uses.
In this case it's better to alter a smaller set of headers and
pass more client headers to backend unchanged. One of the benefits
is enabling server-side byte ranges in such requests.
author |
Roman Arutyunyan <arut@nginx.com> |
date |
Wed, 19 Nov 2014 17:33:23 +0300 |
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"
|