Mercurial > hg > nginx-vendor-current
annotate auto/lib/zlib/conf @ 92:45945fa8b8ba NGINX_0_2_0
nginx 0.2.0
*) The pid-file names used during online upgrade was changed and now is
not required a manual rename operation. The old master process adds
the ".oldbin" suffix to its pid-file and executes a new binary file.
The new master process creates usual pid-file without the ".newbin"
suffix. If the master process exits, then old master process renames
back its pid-file with the ".oldbin" suffix to the pid-file without
suffix.
*) Change: the "worker_connections" directive, new name of the
"connections" directive; now the directive specifies maximum number
of connections, but not maximum socket descriptor number.
*) Feature: SSL supports the session cache inside one worker process.
*) Feature: the "satisfy_any" directive.
*) Change: the ngx_http_access_module and ngx_http_auth_basic_module do
not run for subrequests.
*) Feature: the "worker_rlimit_nofile" and "worker_rlimit_sigpending"
directives.
*) Bugfix: if all backend using in load-balancing failed after one
error, then nginx did not try do connect to them during 60 seconds.
*) Bugfix: in IMAP/POP3 command argument parsing.
Thanks to Rob Mueller.
*) Bugfix: errors while using SSL in IMAP/POP3 proxy.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the "Expires" and "Cache-Control" header lines were omitted
from the 304 responses.
Thanks to Alexandr Kukushkin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 23 Sep 2005 00:00:00 +0400 |
parents | 41ccba1aba45 |
children | 6ae1357b7b7c |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 if [ $ZLIB != NONE ]; then | |
6 CORE_INCS="$CORE_INCS $ZLIB" | |
7 | |
4 | 8 case "$NGX_CC_NAME" in |
0 | 9 |
10 | 10 msvc* | owc* | bcc) |
0 | 11 LINK_DEPS="$LINK_DEPS $ZLIB/zlib.lib" |
12 CORE_LIBS="$CORE_LIBS $ZLIB/zlib.lib" | |
13 ;; | |
14 | |
10 | 15 icc*) |
0 | 16 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" |
17 | |
18 # to allow -ipo optimization we link with the *.o but not library | |
19 CORE_LIBS="$CORE_LIBS $ZLIB/adler32.o" | |
20 CORE_LIBS="$CORE_LIBS $ZLIB/crc32.o" | |
21 CORE_LIBS="$CORE_LIBS $ZLIB/deflate.o" | |
22 CORE_LIBS="$CORE_LIBS $ZLIB/trees.o" | |
23 CORE_LIBS="$CORE_LIBS $ZLIB/zutil.o" | |
42 | 24 CORE_LIBS="$CORE_LIBS $ZLIB/compress.o" |
0 | 25 |
26 if [ $ZLIB_ASM != NO ]; then | |
27 CORE_LIBS="$CORE_LIBS $ZLIB/match.o" | |
28 fi | |
29 ;; | |
30 | |
31 *) | |
32 LINK_DEPS="$LINK_DEPS $ZLIB/libz.a" | |
33 CORE_LIBS="$CORE_LIBS $ZLIB/libz.a" | |
34 #CORE_LIBS="$CORE_LIBS -L $ZLIB -lz" | |
35 ;; | |
36 | |
37 esac | |
38 | |
39 else | |
40 | |
42 | 41 if [ "$NGX_PLATFORM" != win32 ]; then |
4 | 42 ZLIB=NO |
0 | 43 |
44 # FreeBSD, Solaris, Linux | |
45 | |
4 | 46 ngx_feature="zlib library" |
18 | 47 ngx_feature_name= |
4 | 48 ngx_feature_run=no |
49 ngx_feature_incs="#include <zlib.h>" | |
50 ngx_feature_libs="-lz" | |
51 ngx_feature_test="z_stream z; deflate(&z, Z_NO_FLUSH)" | |
52 . auto/feature | |
0 | 53 |
54 | |
55 if [ $ngx_found = yes ]; then | |
4 | 56 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" |
0 | 57 ZLIB=YES |
4 | 58 ngx_found=no |
0 | 59 fi |
60 fi | |
61 | |
62 fi |