Mercurial > hg > nginx-vendor-1-0
annotate auto/endianess @ 354:583decdb82a4 NGINX_0_6_21
nginx 0.6.21
*) Change: if variable values used in a "proxy_pass" directive contain
IP-addresses only, then a "resolver" directive is not mandatory.
resolver
*) Bugfix: a segmentation fault might occur in worker process if a
"proxy_pass" directive with URI-part was used; bug appeared in
0.6.19.
*) Bugfix: if resolver was used on platform that does not support
kqueue, then nginx issued an alert "name is out of response".
Thanks to Andrei Nigmatulin.
*) Bugfix: if the $server_protocol was used in FastCGI parameters and a
request line length was near to the "client_header_buffer_size"
directive value, then nginx issued an alert "fastcgi: the request
record is too big".
*) Bugfix: if a plain text HTTP/0.9 version request was made to HTTPS
server, then nginx returned usual response.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 03 Dec 2007 00:00:00 +0300 |
parents | c982febb7588 |
children | ad25218fd14b |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for system endianess ...$ngx_c" |
0 | 6 echo >> $NGX_ERR |
7 echo "checking for system endianess" >> $NGX_ERR | |
8 | |
9 | |
10 cat << END > $NGX_AUTOTEST.c | |
11 | |
12 int main() { | |
13 int i = 0x11223344; | |
14 char *p; | |
15 | |
16 p = (char *) &i; | |
17 if (*p == 0x44) return 0; | |
18 return 1; | |
19 } | |
20 | |
21 END | |
22 | |
132 | 23 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
126 | 24 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
25 | |
26 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
0 | 27 |
28 if [ -x $NGX_AUTOTEST ]; then | |
236 | 29 if $NGX_AUTOTEST >/dev/null 2>&1; then |
0 | 30 echo " little endianess" |
18 | 31 have=NGX_HAVE_LITTLE_ENDIAN . auto/have |
0 | 32 else |
33 echo " big endianess" | |
34 fi | |
35 | |
36 rm $NGX_AUTOTEST* | |
37 | |
38 else | |
39 rm $NGX_AUTOTEST* | |
40 | |
41 echo | |
42 echo "$0: error: can not detect system endianess" | |
43 exit 1 | |
44 fi |