Mercurial > hg > nginx-vendor-1-0
annotate auto/types/sizeof @ 644:ad25218fd14b NGINX_1_0_12
nginx 1.0.12
*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
"ssl_protocols" directive.
*) Feature: the "if" SSI command supports captures in regular
expressions.
*) Bugfix: the "if" SSI command did not work inside the "block" command.
*) Bugfix: in AIO error handling on FreeBSD.
*) Bugfix: in the OpenSSL library initialization.
*) Bugfix: the "worker_cpu_affinity" directive might not work.
*) Bugfix: the "limit_conn_log_level" and "limit_req_log_level"
directives might not work.
*) Bugfix: the "read_ahead" directive might not work combined with
"try_files" and "open_file_cache".
*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
did not return answer from cache if there were no live upstreams.
*) Bugfix: a segmentation fault might occur in a worker process if small
time was used in the "inactive" parameter of the "proxy_cache_path"
directive.
*) Bugfix: responses from cache might hang.
*) Bugfix: in error handling while connecting to a backend.
Thanks to Piotr Sikora.
*) Bugfix: in the "epoll" event method.
Thanks to Yichun Zhang.
*) Bugfix: the $sent_http_cache_control variable might contain a wrong
value if the "expires" directive was used.
Thanks to Yichun Zhang.
*) Bugfix: the "limit_rate" directive did not allow to use full
throughput, even if limit value was very high.
*) Bugfix: the "sendfile_max_chunk" directive did not work, if the
"limit_rate" directive was used.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.0.11.
*) Bugfix: in the ngx_http_scgi_module.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 06 Feb 2012 00:00:00 +0400 |
parents | 3866d57d9cfd |
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 size ...$ngx_c" |
7 | |
8 cat << END >> $NGX_AUTOCONF_ERR | |
9 | |
10 ---------------------------------------- | |
11 checking for $ngx_type size | |
12 | |
13 END | |
0 | 14 |
15 ngx_size= | |
16 | |
17 cat << END > $NGX_AUTOTEST.c | |
18 | |
19 #include <sys/types.h> | |
20 #include <sys/time.h> | |
4 | 21 $NGX_INCLUDE_UNISTD_H |
0 | 22 #include <signal.h> |
23 #include <sys/resource.h> | |
4 | 24 $NGX_INCLUDE_INTTYPES_H |
25 $NGX_INCLUDE_AUTO_CONFIG_H | |
0 | 26 |
27 int main() { | |
28 printf("%d", sizeof($ngx_type)); | |
29 return 0; | |
30 } | |
31 | |
32 END | |
33 | |
4 | 34 |
132 | 35 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
126 | 36 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
37 | |
4 | 38 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
39 | |
0 | 40 |
41 if [ -x $NGX_AUTOTEST ]; then | |
42 ngx_size=`$NGX_AUTOTEST` | |
43 echo " $ngx_size bytes" | |
44 fi | |
45 | |
4 | 46 |
47 rm -f $NGX_AUTOTEST | |
48 | |
0 | 49 |
50 case $ngx_size in | |
51 4) | |
52 if [ "$ngx_type"="long" ]; then | |
53 ngx_max_value=2147483647L | |
54 else | |
55 ngx_max_value=2147483647 | |
56 fi | |
57 | |
206 | 58 ngx_max_len='(sizeof("-2147483648") - 1)' |
0 | 59 ;; |
60 | |
61 8) | |
62 if [ "$ngx_type"="long long" ]; then | |
63 ngx_max_value=9223372036854775807LL | |
64 else | |
65 ngx_max_value=9223372036854775807L | |
66 fi | |
67 | |
206 | 68 ngx_max_len='(sizeof("-9223372036854775808") - 1)' |
0 | 69 ;; |
70 | |
71 *) | |
72 echo | |
73 echo "$0: error: can not detect $ngx_type size" | |
4 | 74 |
75 echo "----------" >> $NGX_AUTOCONF_ERR | |
76 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
77 echo "----------" >> $NGX_AUTOCONF_ERR | |
78 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
79 echo "----------" >> $NGX_AUTOCONF_ERR | |
80 | |
0 | 81 exit 1 |
82 esac | |
4 | 83 |