Mercurial > hg > nginx-vendor-0-8
annotate auto/types/typedef @ 366:babd3d9efb62 NGINX_0_6_27
nginx 0.6.27
*) Change: now by default the rtsig method is not built on
Linux 2.6.18+.
*) Change: now a request method is not changed while redirection to a
named location via an "error_page" directive.
*) Feature: the "resolver" and "resolver_timeout" directives in SMTP
proxy.
*) Feature: the "post_action" directive supports named locations.
*) Bugfix: a segmentation fault occurred in worker process, if a
request was redirected from proxy, FastCGI, or memcached location to
static named locations.
*) Bugfix: browsers did not repeat SSL handshake if there is no valid
client certificate in first handshake.
Thanks to Alexander V. Inyukhin.
*) Bugfix: if response code 495-497 was redirected via an "error_page"
directive without code change, then nginx tried to allocate too many
memory.
*) Bugfix: memory leak in long-lived non buffered connections.
*) Bugfix: memory leak in resolver.
*) Bugfix: a segmentation fault occurred in worker process, if a
request was redirected from proxy, FastCGI, or memcached location to
static named locations.
*) Bugfix: in the $proxy_host and $proxy_port variables caching.
Thanks to Sergey Bochenkov.
*) Bugfix: a "proxy_pass" directive with variables used incorrectly the
same port as in another "proxy_pass" directive with the same host
name and without variables.
Thanks to Sergey Bochenkov.
*) Bugfix: an alert "sendmsg() failed (9: Bad file descriptor)" on some
64-bit platforms while reconfiguration.
*) Bugfix: a segmentation fault occurred in worker process, if empty
stub block was used second time in SSI.
*) Bugfix: in copying URI part contained escaped symbols into arguments.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 12 Mar 2008 00:00:00 +0300 |
parents | 91372f004adf |
children |
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 | |
132 | 36 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
37 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" | |
38 | |
4 | 39 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
0 | 40 |
41 if [ -x $NGX_AUTOTEST ]; then | |
4 | 42 if [ $ngx_try = $ngx_type ]; then |
0 | 43 echo " found" |
4 | 44 ngx_found=yes |
0 | 45 else |
4 | 46 echo ", $ngx_try used" |
47 ngx_found=$ngx_try | |
0 | 48 fi |
49 fi | |
50 | |
4 | 51 rm -f $NGX_AUTOTEST |
52 | |
53 if [ $ngx_found = no ]; then | |
54 echo $ngx_n " $ngx_try not found$ngx_c" | |
0 | 55 |
4 | 56 echo "----------" >> $NGX_AUTOCONF_ERR |
57 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
58 echo "----------" >> $NGX_AUTOCONF_ERR | |
59 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
60 echo "----------" >> $NGX_AUTOCONF_ERR | |
61 | |
0 | 62 else |
63 break | |
64 fi | |
65 done | |
66 | |
4 | 67 if [ $ngx_found = no ]; then |
0 | 68 echo |
69 echo "$0: error: can not define $ngx_type" | |
4 | 70 |
0 | 71 exit 1 |
72 fi | |
73 | |
4 | 74 if [ $ngx_found != yes ]; then |
75 echo "typedef $ngx_found $ngx_type;" >> $NGX_AUTO_CONFIG_H | |
0 | 76 fi |