Mercurial > hg > nginx-vendor-0-8
annotate auto/lib/sha1/conf @ 326:9fc4ab6673f9 NGINX_0_6_7
nginx 0.6.7
*) Change: now the paths specified in the "include",
"auth_basic_user_file", "perl_modules", "ssl_certificate",
"ssl_certificate_key", and "ssl_client_certificate" directives are
relative to directory of nginx configuration file nginx.conf, but
not to nginx prefix directory.
*) Change: the --sysconfdir=PATH option in configure was canceled.
*) Change: the special make target "upgrade1" was defined for online
upgrade of 0.1.x versions.
*) Feature: the "server_name" and "valid_referers" directives support
regular expressions.
*) Feature: the "server" directive in the "upstream" context supports
the "backup" parameter.
*) Feature: the ngx_http_perl_module supports the
$r->discard_request_body.
*) Feature: the "add_header Last-Modified ..." directive changes the
"Last-Modified" response header line.
*) Bugfix: if an response different than 200 was returned to an request
with body and connection went to the keep-alive state after the
request, then nginx returned 400 for the next request.
*) Bugfix: a segmentation fault occurred in worker process if invalid
address was set in the "auth_http" directive.
*) Bugfix: now nginx uses default listen backlog value 511 on all
platforms except FreeBSD.
Thanks to Jiang Hong.
*) Bugfix: a worker process may got caught in an endless loop, if an
"server" inside "upstream" block was marked as "down"; bug appeared
in 0.6.6.
*) Bugfix: now Solaris sendfilev() is not used to transfer the client
request body to FastCGI-server via the unix domain socket.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 15 Aug 2007 00:00:00 +0400 |
parents | 6ae1357b7b7c |
children | edf1cb6c328e |
rev | line source |
---|---|
202 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 if [ $SHA1 != NONE ]; then | |
6 | |
7 CORE_INCS="$CORE_INCS $SHA1" | |
8 | |
9 case "$NGX_CC_NAME" in | |
10 | |
11 msvc* | owc* | bcc) | |
12 LINK_DEPS="$LINK_DEPS $SHA1/sha1.lib" | |
13 CORE_LIBS="$CORE_LIBS $SHA1/sha1.lib" | |
14 ;; | |
15 | |
16 icc*) | |
17 LINK_DEPS="$LINK_DEPS $SHA1/libsha.a" | |
18 | |
19 # to allow -ipo optimization we link with the *.o but not library | |
20 CORE_LIBS="$CORE_LIBS $SHA1/sha1_dgst.o" | |
21 | |
22 if [ $SHA1_ASM = YES ]; then | |
23 CORE_LIBS="$CORE_LIBS $SHA1/asm/sx86-elf.o" | |
24 fi | |
25 ;; | |
26 | |
27 *) | |
28 LINK_DEPS="$LINK_DEPS $SHA1/libsha.a" | |
29 CORE_LIBS="$CORE_LIBS $SHA1/libsha.a" | |
30 #CORE_LIBS="$CORE_LIBS -L $SHA1 -lsha" | |
31 ;; | |
32 | |
33 esac | |
34 | |
35 else | |
36 | |
37 if [ "$NGX_PLATFORM" != win32 ]; then | |
38 SHA1=NO | |
39 | |
40 # FreeBSD | |
41 | |
42 ngx_feature="sha1 in system md library" | |
43 ngx_feature_name= | |
44 ngx_feature_run=no | |
45 ngx_feature_incs="#include <sha.h>" | |
258 | 46 ngx_feature_path= |
202 | 47 ngx_feature_libs="-lmd" |
48 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)" | |
49 . auto/feature | |
50 | |
51 | |
52 if [ $ngx_found = yes ]; then | |
53 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
54 SHA1=YES | |
55 SHA1_LIB=md | |
56 ngx_found=no | |
57 | |
58 else | |
59 if [ $SHA1 = NO ]; then | |
60 | |
258 | 61 # OpenSSL crypto library |
202 | 62 |
258 | 63 ngx_feature="OpenSSL sha1 crypto library" |
64 ngx_feature_name= | |
65 ngx_feature_run=no | |
66 ngx_feature_incs="#include <openssl/sha.h>" | |
67 ngx_feature_path= | |
68 ngx_feature_libs="-lcrypto" | |
69 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)" | |
70 . auto/feature | |
202 | 71 fi |
72 fi | |
73 | |
74 | |
75 if [ $ngx_found = yes ]; then | |
76 have=NGX_HAVE_OPENSSL_SHA1_H . auto/have | |
77 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
78 SHA1=YES | |
79 SHA1_LIB=crypto | |
80 fi | |
81 fi | |
82 | |
83 fi |