Mercurial > hg > nginx
annotate auto/lib/google-perftools/conf @ 4160:88369902edb1 stable-1.0
Merging r4010, r4065:
SSL related fixes:
*) Fixing proxy_set_body and proxy_pass_request_body with SSL.
Flush flag wasn't set in constructed buffer and this prevented any data
from being actually sent to upstream due to SSL buffering. Make sure
we always set flush in the last buffer we are going to sent.
See here for report:
http://nginx.org/pipermail/nginx-ru/2011-June/041552.html
*) Proper SSL shutdown handling.
If connection has unsent alerts, SSL_shutdown() tries to send them even
if SSL_set_shutdown(SSL_RECEIVED_SHUTDOWN|SSL_SENT_SHUTDOWN) was used.
This can be prevented by SSL_set_quiet_shutdown(). SSL_set_shutdown()
is required nevertheless to preserve session.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 30 Sep 2011 13:42:59 +0000 |
parents | da1ba8a5c8c9 |
children | d620f497c50f |
rev | line source |
---|---|
1949 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 ngx_feature="Google perftools" | |
6 ngx_feature_name= | |
7 ngx_feature_run=no | |
8 ngx_feature_incs= | |
9 ngx_feature_path= | |
10 ngx_feature_libs="-lprofiler" | |
11 ngx_feature_test="ProfilerStop()" | |
12 . auto/feature | |
13 | |
14 | |
15 if [ $ngx_found = no ]; then | |
16 | |
17 # FreeBSD port | |
18 | |
19 ngx_feature="Google perftools in /usr/local/" | |
20 | |
21 if [ $NGX_RPATH = YES ]; then | |
22 ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lprofiler" | |
23 else | |
24 ngx_feature_libs="-L/usr/local/lib -lprofiler" | |
25 fi | |
26 | |
27 . auto/feature | |
28 fi | |
29 | |
30 | |
31 if [ $ngx_found = yes ]; then | |
32 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
2893
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
33 |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
34 else |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
35 |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
36 cat << END |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
37 |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
38 $0: error: the Google perftool module requires the Google perftools |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
39 library. You can either do not enable the module or install the library. |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
40 |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
41 END |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
42 |
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
43 exit 1 |
1949 | 44 fi |