Mercurial > hg > nginx-vendor-0-5
annotate auto/feature @ 92:45945fa8b8ba NGINX_0_2_0
nginx 0.2.0
*) The pid-file names used during online upgrade was changed and now is
not required a manual rename operation. The old master process adds
the ".oldbin" suffix to its pid-file and executes a new binary file.
The new master process creates usual pid-file without the ".newbin"
suffix. If the master process exits, then old master process renames
back its pid-file with the ".oldbin" suffix to the pid-file without
suffix.
*) Change: the "worker_connections" directive, new name of the
"connections" directive; now the directive specifies maximum number
of connections, but not maximum socket descriptor number.
*) Feature: SSL supports the session cache inside one worker process.
*) Feature: the "satisfy_any" directive.
*) Change: the ngx_http_access_module and ngx_http_auth_basic_module do
not run for subrequests.
*) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending"
directives.
*) Bugfix: if all backend using in load-balancing failed after one
error, then nginx did not try do connect to them during 60 seconds.
*) Bugfix: in IMAP/POP3 command argument parsing.
Thanks to Rob Mueller.
*) Bugfix: errors while using SSL in IMAP/POP3 proxy.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the "Expires" and "Cache-Control" header lines were omitted
from the 304 responses.
Thanks to Alexandr Kukushkin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 23 Sep 2005 00:00:00 +0400 |
parents | 6f8b0dc0f8dd |
children | 91372f004adf |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for $ngx_feature ...$ngx_c" |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
8 | |
9 ---------------------------------------- | |
10 checking for $ngx_feature | |
11 | |
12 END | |
0 | 13 |
14 ngx_found=no | |
15 | |
4 | 16 if test -n "$ngx_feature_name"; then |
18 | 17 ngx_have_feature=`echo $ngx_feature_name | tr '[a-z]' '[A-Z]'` |
4 | 18 fi |
0 | 19 |
20 cat << END > $NGX_AUTOTEST.c | |
21 | |
22 #include <sys/types.h> | |
4 | 23 $NGX_INCLUDE_UNISTD_H |
24 $ngx_feature_incs | |
0 | 25 |
26 int main() { | |
27 $ngx_feature_test; | |
28 return 0; | |
29 } | |
30 | |
31 END | |
32 | |
4 | 33 |
34 ngx_test="$CC $CC_TEST_FLAGS $CC_WARN $CC_AUX_FLAGS \ | |
35 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" | |
10 | 36 |
4 | 37 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
38 | |
0 | 39 |
40 if [ -x $NGX_AUTOTEST ]; then | |
41 | |
42 if [ $ngx_feature_run = yes ]; then | |
4 | 43 |
0 | 44 if $NGX_AUTOTEST 2>&1 > /dev/null; then |
45 echo " found" | |
46 ngx_found=yes | |
4 | 47 |
48 if test -n "$ngx_feature_name"; then | |
49 have=$ngx_have_feature . auto/have | |
50 fi | |
51 | |
0 | 52 else |
53 echo " found but is not working" | |
54 fi | |
55 | |
56 else | |
57 echo " found" | |
58 ngx_found=yes | |
4 | 59 |
60 if test -n "$ngx_feature_name"; then | |
61 have=$ngx_have_feature . auto/have | |
62 fi | |
63 | |
0 | 64 fi |
65 | |
66 else | |
67 echo " not found" | |
4 | 68 |
69 echo "----------" >> $NGX_AUTOCONF_ERR | |
70 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
71 echo "----------" >> $NGX_AUTOCONF_ERR | |
72 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
73 echo "----------" >> $NGX_AUTOCONF_ERR | |
0 | 74 fi |
75 | |
76 rm $NGX_AUTOTEST* |