Mercurial > hg > nginx-vendor-0-7
annotate auto/cc/sunc @ 508:68c0ae0a4959 NGINX_0_7_66
nginx 0.7.66
*) Security: now nginx/Windows ignores default file stream name.
Thanks to Jose Antonio Vazquez Gonzalez.
*) Change: now the charset filter runs before the SSI filter.
*) Change: now no message is written in an error log if a variable is
not found by $r->variable() method.
*) Change: now keepalive connections after POST requests are not
disabled for MSIE 7.0+.
Thanks to Adam Lounds.
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.
*) Feature: now the "rewrite" directive does a redirect automatically
if the $scheme variable is used.
Thanks to Piotr Sikora.
*) Feature: the "chunked_transfer_encoding" directive.
*) Feature: the $geoip_city_continent_code, $geoip_latitude, and
$geoip_longitude variables.
Thanks to Arvind Sundararajan.
*) Feature: now the ngx_http_image_filter_module deletes always EXIF
and other application specific data if the data consume more than 5%
of a JPEG file.
*) Feature: now the "msie_padding" directive works for Chrome too.
*) Workaround: now keepalive connections are disabled for Safari.
Thanks to Joshua Sierles.
*) Bugfix: nginx ignored the "private" and "no-store" values in the
"Cache-Control" backend response header line.
*) Bugfix: an "&" character was not escaped when it was copied in
arguments part in a rewrite rule.
*) Bugfix: nginx might be terminated abnormally while a signal
processing or if the directive "timer_resolution" was used on
platforms which do not support kqueue or eventport notification
methods.
Thanks to George Xie and Maxim Dounin.
*) Bugfix: if temporary files and permanent storage area resided at
different file systems, then permanent file modification times were
incorrect.
Thanks to Maxim Dounin.
*) Bugfix: ngx_http_memcached_module might issue the error message
"memcached sent invalid trailer".
Thanks to Maxim Dounin.
*) Bugfix: nginx could not built zlib-1.2.4 library using the library
sources.
Thanks to Maxim Dounin.
*) Bugfix: values of the $query_string, $arg_..., etc. variables cached
in main request were used by the SSI module in subrequests.
*) Bugfix: nginx did not support HTTPS referrers.
*) Bugfix: nginx/Windows might not find file if path in configuration
was given in other character case; the bug had appeared in 0.7.65.
*) Bugfix: the $date_local variable has an incorrect value, if the "%s"
format was used.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not support all ciphers and digests used in client
certificates.
Thanks to Innocenty Enikeew.
*) Bugfix: if ssl_session_cache was not set or was set to "none", then
during client certificate verify the error "session id context
uninitialized" might occur; the bug had appeared in 0.7.1.
*) Bugfix: OpenSSL-1.0.0 compatibility on 64-bit Linux.
Thanks to Maxim Dounin.
*) Bugfix: a geo range returned default value if the range included two
or more /16 networks and did not begin at /16 network boundary.
*) Bugfix: the $uid_got variable might not be used in the SSI and perl
modules.
*) Bugfix: a worker process hung if a FIFO file was requested.
Thanks to Vicente Aguilar and Maxim Dounin.
*) Bugfix: a variable value was repeatedly encoded after each an "echo"
SSI-command output; the bug had appeared in 0.6.14.
*) Bugfix: a "stub" parameter of an "include" SSI directive was not
used, if empty response has 200 status code.
*) Bugfix: a block used in a "stub" parameter of an "include" SSI
directive was output with "text/plain" MIME type.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then a segmentation fault might
occur in a worker process; the bug had appeared in 0.7.65.
Thanks to Yichun Zhang.
*) Bugfix: IMAP connections may hang until they timed out while talking
to Zimbra server.
Thanks to Alan Batie.
*) Bugfix: nginx did not support chunked transfer encoding for 201
responses.
Thanks to Julian Reich.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Jun 2010 00:00:00 +0400 |
parents | 829f9a66a659 |
children |
rev | line source |
---|---|
110 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
320 | 5 # Sun C 5.7 Patch 117837-04 2005/05/11 Sun Studio 10 |
6 # Sun C 5.8 2005/10/13 Sun Studio 11 | |
7 # Sun C 5.9 SunOS_i386 2007/05/03 Sun Studio 12 | |
8 # Sun C 5.9 SunOS_sparc 2007/05/03 | |
110 | 9 |
10 NGX_SUNC_VER=`$CC -V 2>&1 | grep 'Sun C' 2>&1 \ | |
236 | 11 | sed -e 's/^.* Sun C \(.*\)/\1/'` |
110 | 12 |
13 echo " + Sun C version: $NGX_SUNC_VER" | |
14 | |
15 have=NGX_COMPILER value="\"Sun C $NGX_SUNC_VER\"" . auto/define | |
16 | |
17 | |
320 | 18 cat << END > $NGX_AUTOTEST.c |
19 | |
20 int main() { printf("%d", __SUNPRO_C); } | |
21 | |
22 END | |
23 | |
24 eval "$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1" | |
25 | |
26 if [ -x $NGX_AUTOTEST ]; then | |
27 ngx_sunc_ver=`$NGX_AUTOTEST` | |
28 fi | |
29 | |
30 rm $NGX_AUTOTEST* | |
31 | |
32 # 1424 == 0x590, Sun Studio 12 | |
33 | |
34 if [ "$ngx_sunc_ver" -ge 1424 ]; then | |
35 ngx_sparc32="-m32" | |
36 ngx_sparc64="-m64" | |
37 ngx_amd64="-m64" | |
38 | |
39 else | |
40 ngx_sparc32="-xarch=v8plus" | |
41 ngx_sparc64="-xarch=v9" | |
324 | 42 ngx_amd64="-xarch=amd64" |
320 | 43 fi |
44 | |
242 | 45 case "$NGX_MACHINE" in |
110 | 46 |
242 | 47 i86pc) |
110 | 48 NGX_AUX=" src/os/unix/ngx_sunpro_x86.il" |
49 ;; | |
50 | |
242 | 51 sun4u | sun4v) |
110 | 52 NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il" |
53 ;; | |
54 | |
55 esac | |
56 | |
57 | |
58 # optimizations | |
59 | |
320 | 60 IPO=-xipo |
61 CFLAGS="$CFLAGS -fast $IPO" | |
322 | 62 CORE_LINK="$CORE_LINK -fast $IPO" |
110 | 63 |
64 | |
65 case $CPU in | |
66 pentium) | |
67 # optimize for Pentium and Athlon | |
68 CPU_OPT="-xchip=pentium" | |
69 ;; | |
70 | |
71 pentiumpro) | |
72 # optimize for Pentium Pro, Pentium II | |
73 CPU_OPT="-xchip=pentium_pro" | |
74 ;; | |
75 | |
76 pentium3) | |
77 # optimize for Pentium III | |
78 CPU_OPT="-xchip=pentium3" | |
79 #CPU_OPT="$CPU_OPT -xarch=sse" | |
80 CPU_OPT="$CPU_OPT -xcache=16/32/4:256/32/4" | |
81 ;; | |
82 | |
83 pentium4) | |
84 # optimize for Pentium 4 | |
85 CPU_OPT="-xchip=pentium4" | |
86 #CPU_OPT="$CPU_OPT -xarch=sse2" | |
87 CPU_OPT="$CPU_OPT -xcache=8/64/4:256/128/8" | |
88 ;; | |
89 | |
90 opteron) | |
91 # optimize for Opteron | |
92 CPU_OPT="-xchip=opteron" | |
93 #CPU_OPT="$CPU_OPT -xarch=sse2" | |
94 CPU_OPT="$CPU_OPT -xcache=64/64/2:1024/64/16" | |
95 ;; | |
96 | |
320 | 97 sparc32) |
98 # build 32-bit UltraSparc binary | |
99 CPU_OPT="$ngx_sparc32" | |
100 CORE_LINK="$CORE_LINK $ngx_sparc32" | |
101 CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_sparc32" | |
102 NGX_CPU_CACHE_LINE=64 | |
103 ;; | |
104 | |
105 sparc64) | |
106 # build 64-bit UltraSparc binary | |
107 CPU_OPT="$ngx_sparc64" | |
108 CORE_LINK="$CORE_LINK $ngx_sparc64" | |
109 CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_sparc64" | |
110 NGX_CPU_CACHE_LINE=64 | |
111 ;; | |
112 | |
110 | 113 amd64) |
114 # build 64-bit amd64 binary | |
320 | 115 CPU_OPT="$ngx_amd64" |
116 CORE_LINK="$CORE_LINK $ngx_amd64" | |
322 | 117 CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_amd64" |
110 | 118 NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il" |
320 | 119 NGX_CPU_CACHE_LINE=64 |
110 | 120 ;; |
121 | |
122 esac | |
123 | |
124 | |
125 CFLAGS="$CFLAGS $CPU_OPT" | |
126 | |
127 | |
128 if [ ".$PCRE_OPT" = "." ]; then | |
320 | 129 PCRE_OPT="-fast $IPO $CPU_OPT" |
110 | 130 fi |
131 | |
132 if [ ".$MD5_OPT" = "." ]; then | |
320 | 133 MD5_OPT="-fast $IPO $CPU_OPT" |
110 | 134 fi |
135 | |
136 if [ ".$ZLIB_OPT" = "." ]; then | |
320 | 137 ZLIB_OPT="-fast $IPO $CPU_OPT" |
110 | 138 fi |
139 | |
140 | |
141 # stop on warning | |
142 CFLAGS="$CFLAGS -errwarn=%all" | |
326 | 143 |
144 # debug | |
145 CFLAGS="$CFLAGS -g" |