Mercurial > hg > nginx-vendor-0-7
annotate auto/cc/msvc @ 506:b9fdcaf2062b NGINX_0_7_65
nginx 0.7.65
*) Security: now nginx/Windows ignores trailing spaces in URI.
Thanks to Dan Crowley, Core Security Technologies.
*) Security: now nginx/Windows ignores short files names.
Thanks to Dan Crowley, Core Security Technologies.
*) Change: now the "009" status code is written to an access log for
proxied HTTP/0.9 responses.
*) Change: now the default buffer size of the
"large_client_header_buffers" directive is 8K.
Thanks to Andrew Cholakian.
*) Change: now default SSL ciphers are "HIGH:!ADH:!MD5".
*) Change: now SSLv2 protocol is disabled by default.
*) Change: now $host variable value is always low case.
*) Feature: the conf/fastcgi.conf for simple FastCGI configurations.
*) Feature: now URI part is not required a "proxy_pass" directive if
variables are used.
*) Feature: the $ssl_session_id variable.
*) Bugfix: if a proxied or FastCGI request was internally redirected to
another proxied or FastCGI location, then $upstream_response_time
variable may have abnormally large value; the bug had appeared in
0.7.63.
*) Bugfix: if the "expires modified" set date in the past, then a
negative number was set in the "Cache-Control" response header
line.
Thanks to Alex Kapranoff.
*) Bugfix: nginx closed a connection if a cached response had an empty
body.
Thanks to Piotr Sikora.
*) Bugfix: nginx cached a 304 response if there was the "If-None-Match"
header line in a proxied request.
Thanks to Tim Dettrick and David Kostal.
*) Bugfix: nginx did not treat a comma as separator in the
"Cache-Control" backend response header line.
*) Bugfix: cached HTTP/0.9 responses were handled incorrectly.
*) Bugfix: nginx sent gzipped responses to clients those do not support
gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
in 0.8.16.
*) Bugfix: nginx always added "Content-Encoding: gzip" response header
line in 304 responses sent by ngx_http_gzip_static_module.
*) Bugfix: the "!-x" operator did not work.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
limit_rate was used in HTTPS server.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process while
$limit_rate logging.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not support dates in 2038 year on 32-bit platforms;
*) Bugfix: nginx/Windows tried to delete a temporary file twice if the
file should replace an already existent file.
*) Bugfix: nginx/Windows tried to rename a temporary file twice if the
file should replace an already existent file.
*) Bugfix: nginx/Windows might not create temporary file, a cache file,
or "proxy/fastcgi_store"d file if a worker had no enough access
rights for top level directories.
*) Bugfix: in UTF-8 encoding support by "try_files" directive in
nginx/Windows.
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
Thanks to Maxim Dounin.
*) Bugfix: the ngx_http_autoindex_module did not show the trailing
slash in links to a directory; the bug had appeared in 0.7.15.
*) Bugfix: nginx did not close a log file set by the --error-log-path
configuration option; the bug had appeared in 0.7.53.
*) Bugfix: "addition_types" directive was incorrectly named
"addtion_types".
*) Bugfix: invalid request line in $request variable was written in
access_log only if error_log was set to "info" or "debug" level.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 00:00:00 +0000 |
parents | 116d5de7cbb6 |
children |
rev | line source |
---|---|
4 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
470 | 5 # MSVC 6.0 SP2 |
6 # MSVC Toolkit 2003 (7.1) | |
7 # MSVC 2005 Express Edition SP1 (8.0) | |
4 | 8 |
9 # optimizations | |
10 | |
58 | 11 # maximize speed, equivalent to -Og -Oi -Ot -Oy -Ob2 -Gs -GF -Gy |
4 | 12 CFLAGS="$CFLAGS -O2" |
58 | 13 |
4 | 14 # enable global optimization |
58 | 15 #CFLAGS="$CFLAGS -Og" |
4 | 16 # enable intrinsic functions |
58 | 17 #CFLAGS="$CFLAGS -Oi" |
18 | |
19 # disable inline expansion | |
20 #CFLAGS="$CFLAGS -Ob0" | |
21 # explicit inline expansion | |
22 #CFLAGS="$CFLAGS -Ob1" | |
23 # explicit and implicit inline expansion | |
24 #CFLAGS="$CFLAGS -Ob2" | |
25 | |
4 | 26 # enable frame pointer omission |
58 | 27 #CFLAGS="$CFLAGS -Oy" |
4 | 28 # disable stack checking calls |
58 | 29 #CFLAGS="$CFLAGS -Gs" |
30 | |
31 # pools strings as read/write | |
32 #CFLAGS="$CFLAGS -Gf" | |
33 # pools strings as read-only | |
34 #CFLAGS="$CFLAGS -GF" | |
35 | |
4 | 36 |
37 case $CPU in | |
38 pentium) | |
39 # optimize for Pentium and Athlon | |
40 CPU_OPT="-G5" | |
41 ;; | |
42 | |
43 pentiumpro) | |
44 # optimize for Pentium Pro, Pentium II and Pentium III | |
45 CPU_OPT="-G6" | |
46 ;; | |
47 | |
48 pentium4) | |
10 | 49 # optimize for Pentium 4, MSVC 7 |
50 CPU_OPT="-G7" | |
4 | 51 ;; |
52 esac | |
53 | |
480 | 54 # __cdecl, default, must be used with OpenSSL, md5 asm, and sha1 asm |
132 | 55 #CPU_OPT="$CPU_OPT -Gd" |
52 | 56 # __stdcall |
57 #CPU_OPT="$CPU_OPT -Gz" | |
58 # __fastcall | |
480 | 59 #CPU_OPT="$CPU_OPT -Gr" |
52 | 60 |
61 | |
4 | 62 CFLAGS="$CFLAGS $CPU_OPT" |
63 | |
64 | |
65 # warnings | |
66 | |
67 CFLAGS="$CFLAGS -W4" | |
68 | |
69 # stop on warning | |
70 CFLAGS="$CFLAGS -WX" | |
71 | |
10 | 72 # disable logo |
73 CFLAGS="$CFLAGS -nologo" | |
74 | |
75 | |
76 LINK="\$(CC)" | |
77 | |
78 # the link flags | |
79 CORE_LINK="$CORE_LINK -link -verbose:lib" | |
80 | |
470 | 81 # link with libcmt.lib, multithreaded |
82 LIBC="-MT" | |
83 # link with msvcrt.dll | |
84 # however, MSVC Toolkit 2003 has no MSVCRT.LIB | |
85 #LIBC="-MD" | |
4 | 86 |
87 CFLAGS="$CFLAGS $LIBC" | |
88 | |
480 | 89 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib" |
90 | |
10 | 91 # Win32 GUI mode application |
480 | 92 #CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup" |
4 | 93 |
94 # debug | |
480 | 95 # msvc8 under Wine issues |
96 # Program database manager mismatch; please check your installation | |
346 | 97 if [ $NGX_CC_NAME != msvc8 ]; then |
98 CFLAGS="$CFLAGS -Zi" | |
99 CORE_LINK="$CORE_LINK -debug" | |
100 fi | |
4 | 101 |
10 | 102 |
480 | 103 # MSVC 2005 supports C99 variadic macros |
104 if [ $NGX_CC_NAME = msvc8 ]; then | |
105 have=NGX_HAVE_C99_VARIADIC_MACROS . auto/have | |
106 fi | |
107 | |
108 | |
4 | 109 # precompiled headers |
346 | 110 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch" |
111 NGX_PCH="$NGX_OBJS/ngx_config.pch" | |
112 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch" | |
113 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch" | |
10 | 114 |
115 | |
116 # the resource file | |
18 | 117 NGX_RES="$NGX_OBJS/nginx.res" |
10 | 118 NGX_RCC="rc -fo$NGX_RES \$(CORE_INCS) $NGX_WIN32_RC" |
119 CORE_LINK="$NGX_RES $CORE_LINK" | |
120 | |
4 | 121 |
122 ngx_objout="-Fo" | |
123 ngx_binout="-Fe" | |
124 ngx_objext="obj" | |
125 ngx_binext=".exe" | |
126 | |
488 | 127 ngx_long_start='@<< |
496 | 128 ' |
488 | 129 ngx_long_end='<<' |
130 ngx_long_regex_cont=' \ | |
182 | 131 ' |
488 | 132 ngx_long_cont=' |
122 | 133 ' |
182 | 134 |
180 | 135 # MSVC understand / in path |
4 | 136 #ngx_regex_dirsep='\\' |
137 #ngx_dirsep="\\" |