Mercurial > hg > nginx-vendor-current
annotate auto/types/typedef @ 676:bfa81a0490a2 NGINX_1_3_1
nginx 1.3.1
*) Security: now nginx/Windows ignores trailing dot in URI path
component, and does not allow URIs with ":$" in it.
Thanks to Vladimir Kochetkov, Positive Research Center.
*) Feature: the "proxy_pass", "fastcgi_pass", "scgi_pass", "uwsgi_pass"
directives, and the "server" directive inside the "upstream" block,
now support IPv6 addresses.
*) Feature: the "resolver" directive now support IPv6 addresses and an
optional port specification.
*) Feature: the "least_conn" directive inside the "upstream" block.
*) Feature: it is now possible to specify a weight for servers while
using the "ip_hash" directive.
*) Bugfix: a segmentation fault might occur in a worker process if the
"image_filter" directive was used; the bug had appeared in 1.3.0.
*) Bugfix: nginx could not be built with ngx_cpp_test_module; the bug
had appeared in 1.1.12.
*) Bugfix: access to variables from SSI and embedded perl module might
not work after reconfiguration.
Thanks to Yichun Zhang.
*) Bugfix: in the ngx_http_xslt_filter_module.
Thanks to Kuramoto Eiji.
*) Bugfix: memory leak if $geoip_org variable was used.
Thanks to Denis F. Latypoff.
*) Bugfix: in the "proxy_cookie_domain" and "proxy_cookie_path"
directives.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 05 Jun 2012 00:00:00 +0400 |
parents | 9fbf3ad94cbf |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
660 | 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; |
668 | 32 return (int) i; |
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 |