Mercurial > hg > nginx-vendor-1-0
annotate auto/types/typedef @ 646:09a689c5e494 NGINX_1_0_13
nginx 1.0.13
*) Feature: the "return" and "error_page" directives can now be used to
return 307 redirections.
*) Bugfix: a segmentation fault might occur in a worker process if the
"resolver" directive was used and there was no "error_log" directive
specified at global level.
Thanks to Roman Arutyunyan.
*) Bugfix: memory leaks.
Thanks to Lanshun Zhou.
*) Bugfix: nginx might log incorrect error "upstream prematurely closed
connection" instead of correct "upstream sent too big header" one.
Thanks to Feibo Li.
*) Bugfix: on ZFS filesystem disk cache size might be calculated
incorrectly; the bug had appeared in 1.0.1.
*) Bugfix: the number of internal redirects to named locations was not
limited.
*) Bugfix: temporary files might be not removed if the "proxy_store"
directive was used with SSI includes.
*) Bugfix: in some cases non-cacheable variables (such as the $args
variable) returned old empty cached value.
*) Bugfix: the "proxy_redirect" directives might be inherited
incorrectly.
*) Bugfix: nginx could not be built with the ngx_http_perl_module if the
--with-openssl option was used.
*) Bugfix: nginx could not be built by the icc 12.1 compiler.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 05 Mar 2012 00:00:00 +0400 |
parents | ad25218fd14b |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
644 | 3 # Copyright (C) Nginx, Inc. |
0 | 4 |
5 | |
4 | 6 echo $ngx_n "checking for $ngx_type ...$ngx_c" |
7 | |
8 cat << END >> $NGX_AUTOCONF_ERR | |
0 | 9 |
4 | 10 ---------------------------------------- |
11 checking for $ngx_type | |
0 | 12 |
4 | 13 END |
14 | |
15 ngx_found=no | |
16 | |
17 for ngx_try in $ngx_type $ngx_types | |
0 | 18 do |
19 | |
20 cat << END > $NGX_AUTOTEST.c | |
21 | |
22 #include <sys/types.h> | |
23 #include <signal.h> | |
24 #include <sys/socket.h> | |
25 #include <sys/time.h> | |
26 #include <sys/resource.h> | |
27 #include <netinet/in.h> | |
4 | 28 $NGX_INCLUDE_INTTYPES_H |
0 | 29 |
30 int main() { | |
4 | 31 $ngx_try i = 0; |
0 | 32 return 0; |
33 } | |
34 | |
35 END | |
36 | |
132 | 37 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
38 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" | |
39 | |
4 | 40 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
0 | 41 |
42 if [ -x $NGX_AUTOTEST ]; then | |
4 | 43 if [ $ngx_try = $ngx_type ]; then |
0 | 44 echo " found" |
4 | 45 ngx_found=yes |
0 | 46 else |
4 | 47 echo ", $ngx_try used" |
48 ngx_found=$ngx_try | |
0 | 49 fi |
50 fi | |
51 | |
4 | 52 rm -f $NGX_AUTOTEST |
53 | |
54 if [ $ngx_found = no ]; then | |
55 echo $ngx_n " $ngx_try not found$ngx_c" | |
0 | 56 |
4 | 57 echo "----------" >> $NGX_AUTOCONF_ERR |
58 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
59 echo "----------" >> $NGX_AUTOCONF_ERR | |
60 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
61 echo "----------" >> $NGX_AUTOCONF_ERR | |
62 | |
0 | 63 else |
64 break | |
65 fi | |
66 done | |
67 | |
4 | 68 if [ $ngx_found = no ]; then |
0 | 69 echo |
70 echo "$0: error: can not define $ngx_type" | |
4 | 71 |
0 | 72 exit 1 |
73 fi | |
74 | |
4 | 75 if [ $ngx_found != yes ]; then |
76 echo "typedef $ngx_found $ngx_type;" >> $NGX_AUTO_CONFIG_H | |
0 | 77 fi |