Mercurial > hg > nginx-mail
annotate auto/types/typedef @ 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 | 4b2dafa26fe2 |
children | 91372f004adf |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for $ngx_type ...$ngx_c" |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
0 | 8 |
4 | 9 ---------------------------------------- |
10 checking for $ngx_type | |
0 | 11 |
4 | 12 END |
13 | |
14 ngx_found=no | |
15 | |
16 for ngx_try in $ngx_type $ngx_types | |
0 | 17 do |
18 | |
19 cat << END > $NGX_AUTOTEST.c | |
20 | |
21 #include <sys/types.h> | |
22 #include <signal.h> | |
23 #include <sys/socket.h> | |
24 #include <sys/time.h> | |
25 #include <sys/resource.h> | |
26 #include <netinet/in.h> | |
4 | 27 $NGX_INCLUDE_INTTYPES_H |
0 | 28 |
29 int main() { | |
4 | 30 $ngx_try i = 0; |
0 | 31 return 0; |
32 } | |
33 | |
34 END | |
35 | |
4 | 36 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c" |
37 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
0 | 38 |
39 if [ -x $NGX_AUTOTEST ]; then | |
4 | 40 if [ $ngx_try = $ngx_type ]; then |
0 | 41 echo " found" |
4 | 42 ngx_found=yes |
0 | 43 else |
4 | 44 echo ", $ngx_try used" |
45 ngx_found=$ngx_try | |
0 | 46 fi |
47 fi | |
48 | |
4 | 49 rm -f $NGX_AUTOTEST |
50 | |
51 if [ $ngx_found = no ]; then | |
52 echo $ngx_n " $ngx_try not found$ngx_c" | |
0 | 53 |
4 | 54 echo "----------" >> $NGX_AUTOCONF_ERR |
55 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
56 echo "----------" >> $NGX_AUTOCONF_ERR | |
57 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
58 echo "----------" >> $NGX_AUTOCONF_ERR | |
59 | |
0 | 60 else |
61 break | |
62 fi | |
63 done | |
64 | |
4 | 65 if [ $ngx_found = no ]; then |
0 | 66 echo |
67 echo "$0: error: can not define $ngx_type" | |
4 | 68 |
0 | 69 exit 1 |
70 fi | |
71 | |
4 | 72 if [ $ngx_found != yes ]; then |
73 echo "typedef $ngx_found $ngx_type;" >> $NGX_AUTO_CONFIG_H | |
0 | 74 fi |