Mercurial > hg > nginx-vendor-current
annotate auto/lib/sha1/conf @ 358:9121a0a91f47 NGINX_0_6_23
nginx 0.6.23
*) Change: the "off" parameter in the "ssl_session_cache" directive;
now this is default parameter.
*) Change: the "open_file_cache_retest" directive was renamed to the
"open_file_cache_valid".
*) Feature: the "open_file_cache_min_uses" directive.
*) Feature: the ngx_http_gzip_static_module.
*) Feature: the "gzip_disable" directive.
*) Feature: the "memcached_pass" directive may be used inside the "if"
block.
*) Bugfix: a segmentation fault occurred in worker process, if the
"memcached_pass" and "if" directives were used in the same location.
*) Bugfix: if a "satisfy_any on" directive was used and not all access
and auth modules directives were set, then other given access and
auth directives were not tested;
*) Bugfix: regex parameters in a "valid_referers" directive were not
inherited from previous level.
*) Bugfix: a "post_action" directive did run if a request was completed
with 499 status code.
*) Bugfix: optimization of 16K buffer usage in a SSL connection.
Thanks to Ben Maurer.
*) Bugfix: the STARTTLS in SMTP mode did not work.
Thanks to Oleg Motienko.
*) Bugfix: in HTTPS mode requests might fail with the "bad write retry"
error; bug appeared in 0.5.13.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 00:00:00 +0300 |
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 |