annotate auto/lib/google-perftools/conf @ 601:b6a5942a4e6a NGINX_0_8_46

nginx 0.8.46 *) Change: now the "proxy_no_cache", "fastcgi_no_cache", "uwsgi_no_cache", and "scgi_no_cache" directives affect on a cached response saving only. *) Feature: the "proxy_cache_bypass", "fastcgi_cache_bypass", "uwsgi_cache_bypass", and "scgi_cache_bypass" directives. *) Bugfix: nginx did not free memory in cache keys zones if there was an error during working with backend: the memory was freed only after inactivity time or on memory low condition.
author Igor Sysoev <http://sysoev.ru>
date Mon, 19 Jul 2010 00:00:00 +0400
parents f39b9e29530d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
370
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
1
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
2 # Copyright (C) Igor Sysoev
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
3
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
4
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
5 ngx_feature="Google perftools"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
6 ngx_feature_name=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
7 ngx_feature_run=no
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
8 ngx_feature_incs=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
9 ngx_feature_path=
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
10 ngx_feature_libs="-lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
11 ngx_feature_test="ProfilerStop()"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
12 . auto/feature
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
13
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
14
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
15 if [ $ngx_found = no ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
16
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
17 # FreeBSD port
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
18
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
19 ngx_feature="Google perftools in /usr/local/"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
20
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
21 if [ $NGX_RPATH = YES ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
22 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
23 else
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
24 ngx_feature_libs="-L/usr/local/lib -lprofiler"
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
25 fi
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
26
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
27 . auto/feature
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
28 fi
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
29
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
30
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
31 if [ $ngx_found = yes ]; then
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
32 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
505
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
33
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
34 else
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
35
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
36 cat << END
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
37
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
38 $0: error: the Google perftool module requires the Google perftools
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
39 library. You can either do not enable the module or install the library.
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
40
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
41 END
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
42
f39b9e29530d nginx 0.8.0
Igor Sysoev <http://sysoev.ru>
parents: 370
diff changeset
43 exit 1
370
9a242235a80a nginx 0.6.29
Igor Sysoev <http://sysoev.ru>
parents:
diff changeset
44 fi