Mercurial > hg > nginx-mail
annotate auto/types/sizeof @ 28:7ca9bdc82b3f NGINX_0_1_14
nginx 0.1.14
*) Feature: the autoconfiguration directives:
--http-client-body-temp-path=PATH, --http-proxy-temp-path=PATH, and
--http-fastcgi-temp-path=PATH
*) Change: the directory name for the temporary files with the client
request body is specified by directive client_body_temp_path, by
default it is <prefix>/client_body_temp.
*) Feature: the ngx_http_fastcgi_module and the directives:
fastcgi_pass, fastcgi_root, fastcgi_index, fastcgi_params,
fastcgi_connect_timeout, fastcgi_send_timeout, fastcgi_read_timeout,
fastcgi_send_lowat, fastcgi_header_buffer_size, fastcgi_buffers,
fastcgi_busy_buffers_size, fastcgi_temp_path,
fastcgi_max_temp_file_size, fastcgi_temp_file_write_size,
fastcgi_next_upstream, and fastcgi_x_powered_by.
*) Bugfix: the "[alert] zero size buf" error; bug appeared in 0.1.3.
*) Change: the URI must be specified after the host name in the
proxy_pass directive.
*) Change: the %3F symbol in the URI was considered as the argument
string start.
*) Feature: the unix domain sockets support in the
ngx_http_proxy_module.
*) Feature: the ssl_engine and ssl_ciphers directives.
Thanks to Sergey Skvortsov for SSL-accelerator.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 18 Jan 2005 00:00:00 +0300 |
parents | 4b2dafa26fe2 |
children | df17fbafec8f |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for $ngx_type size ...$ngx_c" |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
8 | |
9 ---------------------------------------- | |
10 checking for $ngx_type size | |
11 | |
12 END | |
0 | 13 |
14 ngx_size= | |
15 | |
16 cat << END > $NGX_AUTOTEST.c | |
17 | |
18 #include <sys/types.h> | |
19 #include <sys/time.h> | |
4 | 20 $NGX_INCLUDE_UNISTD_H |
0 | 21 #include <signal.h> |
22 #include <sys/resource.h> | |
4 | 23 $NGX_INCLUDE_INTTYPES_H |
24 $NGX_INCLUDE_AUTO_CONFIG_H | |
0 | 25 |
26 int main() { | |
27 printf("%d", sizeof($ngx_type)); | |
28 return 0; | |
29 } | |
30 | |
31 END | |
32 | |
4 | 33 |
34 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c" | |
35 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
36 | |
0 | 37 |
38 if [ -x $NGX_AUTOTEST ]; then | |
39 ngx_size=`$NGX_AUTOTEST` | |
40 echo " $ngx_size bytes" | |
41 fi | |
42 | |
4 | 43 |
44 rm -f $NGX_AUTOTEST | |
45 | |
0 | 46 |
47 case $ngx_size in | |
48 4) | |
49 if [ "$ngx_type"="long" ]; then | |
50 ngx_max_value=2147483647L | |
51 else | |
52 ngx_max_value=2147483647 | |
53 fi | |
54 | |
55 ngx_max_len='sizeof("-2147483648") - 1' | |
56 ;; | |
57 | |
58 8) | |
59 if [ "$ngx_type"="long long" ]; then | |
60 ngx_max_value=9223372036854775807LL | |
61 else | |
62 ngx_max_value=9223372036854775807L | |
63 fi | |
64 | |
65 ngx_max_len='sizeof("-9223372036854775808") - 1' | |
66 ;; | |
67 | |
68 *) | |
69 echo | |
70 echo "$0: error: can not detect $ngx_type size" | |
4 | 71 |
72 echo "----------" >> $NGX_AUTOCONF_ERR | |
73 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
74 echo "----------" >> $NGX_AUTOCONF_ERR | |
75 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
76 echo "----------" >> $NGX_AUTOCONF_ERR | |
77 | |
0 | 78 exit 1 |
79 esac | |
4 | 80 |