Mercurial > hg > nginx-vendor-1-0
annotate auto/lib/sha1/conf @ 644:ad25218fd14b NGINX_1_0_12
nginx 1.0.12
*) Feature: the "TLSv1.1" and "TLSv1.2" parameters of the
"ssl_protocols" directive.
*) Feature: the "if" SSI command supports captures in regular
expressions.
*) Bugfix: the "if" SSI command did not work inside the "block" command.
*) Bugfix: in AIO error handling on FreeBSD.
*) Bugfix: in the OpenSSL library initialization.
*) Bugfix: the "worker_cpu_affinity" directive might not work.
*) Bugfix: the "limit_conn_log_level" and "limit_req_log_level"
directives might not work.
*) Bugfix: the "read_ahead" directive might not work combined with
"try_files" and "open_file_cache".
*) Bugfix: the "proxy_cache_use_stale" directive with "error" parameter
did not return answer from cache if there were no live upstreams.
*) Bugfix: a segmentation fault might occur in a worker process if small
time was used in the "inactive" parameter of the "proxy_cache_path"
directive.
*) Bugfix: responses from cache might hang.
*) Bugfix: in error handling while connecting to a backend.
Thanks to Piotr Sikora.
*) Bugfix: in the "epoll" event method.
Thanks to Yichun Zhang.
*) Bugfix: the $sent_http_cache_control variable might contain a wrong
value if the "expires" directive was used.
Thanks to Yichun Zhang.
*) Bugfix: the "limit_rate" directive did not allow to use full
throughput, even if limit value was very high.
*) Bugfix: the "sendfile_max_chunk" directive did not work, if the
"limit_rate" directive was used.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.0.11.
*) Bugfix: in the ngx_http_scgi_module.
*) Bugfix: in the ngx_http_mp4_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 06 Feb 2012 00:00:00 +0400 |
parents | a7a5fa2e395b |
children |
rev | line source |
---|---|
202 | 1 |
2 # Copyright (C) Igor Sysoev | |
644 | 3 # Copyright (C) Nginx, Inc. |
202 | 4 |
5 | |
6 if [ $SHA1 != NONE ]; then | |
7 | |
626 | 8 have=NGX_HAVE_SHA1 . auto/have |
202 | 9 CORE_INCS="$CORE_INCS $SHA1" |
10 | |
11 case "$NGX_CC_NAME" in | |
12 | |
13 msvc* | owc* | bcc) | |
14 LINK_DEPS="$LINK_DEPS $SHA1/sha1.lib" | |
15 CORE_LIBS="$CORE_LIBS $SHA1/sha1.lib" | |
16 ;; | |
17 | |
18 icc*) | |
19 LINK_DEPS="$LINK_DEPS $SHA1/libsha.a" | |
20 | |
21 # to allow -ipo optimization we link with the *.o but not library | |
22 CORE_LIBS="$CORE_LIBS $SHA1/sha1_dgst.o" | |
23 | |
24 if [ $SHA1_ASM = YES ]; then | |
25 CORE_LIBS="$CORE_LIBS $SHA1/asm/sx86-elf.o" | |
26 fi | |
27 ;; | |
28 | |
29 *) | |
30 LINK_DEPS="$LINK_DEPS $SHA1/libsha.a" | |
31 CORE_LIBS="$CORE_LIBS $SHA1/libsha.a" | |
32 #CORE_LIBS="$CORE_LIBS -L $SHA1 -lsha" | |
33 ;; | |
34 | |
35 esac | |
36 | |
37 else | |
38 | |
39 if [ "$NGX_PLATFORM" != win32 ]; then | |
376 | 40 |
202 | 41 SHA1=NO |
42 | |
43 # FreeBSD | |
44 | |
45 ngx_feature="sha1 in system md library" | |
626 | 46 ngx_feature_name=NGX_HAVE_SHA1 |
202 | 47 ngx_feature_run=no |
48 ngx_feature_incs="#include <sha.h>" | |
258 | 49 ngx_feature_path= |
202 | 50 ngx_feature_libs="-lmd" |
51 ngx_feature_test="SHA_CTX sha1; SHA1_Init(&sha1)" | |
52 . auto/feature | |
53 | |
376 | 54 ngx_sha1_lib="system md" |
55 | |
56 if [ $ngx_found = no ]; then | |
57 | |
58 # OpenSSL crypto library | |
59 | |
60 ngx_feature="OpenSSL sha1 crypto library" | |
61 ngx_feature_incs="#include <openssl/sha.h>" | |
62 ngx_feature_libs="-lcrypto" | |
63 . auto/feature | |
64 | |
65 ngx_sha1_lib="system crypto" | |
66 | |
67 if [ $ngx_found = yes ]; then | |
68 have=NGX_HAVE_OPENSSL_SHA1_H . auto/have | |
69 fi | |
70 fi | |
202 | 71 |
72 if [ $ngx_found = yes ]; then | |
73 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
74 SHA1=YES | |
376 | 75 SHA1_LIB=$ngx_sha1_lib |
202 | 76 fi |
77 fi | |
78 | |
79 fi |