Mercurial > hg > nginx-vendor-1-0
annotate auto/lib/openssl/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 | 53f5f04a64b8 |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
644 | 3 # Copyright (C) Nginx, Inc. |
0 | 4 |
5 | |
6 if [ $OPENSSL != NONE ]; then | |
7 | |
8 case "$CC" in | |
480 | 9 |
492 | 10 cl | bcc32) |
480 | 11 have=NGX_OPENSSL . auto/have |
12 have=NGX_SSL . auto/have | |
13 | |
492 | 14 CFLAGS="$CFLAGS -DNO_SYS_TYPES_H" |
480 | 15 |
492 | 16 CORE_INCS="$CORE_INCS $OPENSSL/openssl/include" |
17 CORE_DEPS="$CORE_DEPS $OPENSSL/openssl/include/openssl/ssl.h" | |
18 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/ssleay32.lib" | |
19 CORE_LIBS="$CORE_LIBS $OPENSSL/openssl/lib/libeay32.lib" | |
480 | 20 |
482 | 21 # libeay32.lib requires gdi32.lib |
22 CORE_LIBS="$CORE_LIBS gdi32.lib" | |
566 | 23 # OpenSSL 1.0.0 requires crypt32.lib |
24 CORE_LIBS="$CORE_LIBS crypt32.lib" | |
480 | 25 ;; |
26 | |
0 | 27 *) |
28 have=NGX_OPENSSL . auto/have | |
126 | 29 have=NGX_SSL . auto/have |
492 | 30 |
530 | 31 CORE_INCS="$CORE_INCS $OPENSSL/.openssl/include" |
32 CORE_DEPS="$CORE_DEPS $OPENSSL/.openssl/include/openssl/ssl.h" | |
33 CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libssl.a" | |
34 CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libcrypto.a" | |
488 | 35 CORE_LIBS="$CORE_LIBS $NGX_LIBDL" |
28 | 36 ;; |
0 | 37 esac |
38 | |
39 else | |
40 | |
586 | 41 if [ "$NGX_PLATFORM" != win32 ]; then |
110 | 42 |
586 | 43 OPENSSL=NO |
132 | 44 |
586 | 45 ngx_feature="OpenSSL library" |
46 ngx_feature_name="NGX_OPENSSL" | |
47 ngx_feature_run=no | |
48 ngx_feature_incs="#include <openssl/ssl.h>" | |
49 ngx_feature_path= | |
50 ngx_feature_libs="-lssl -lcrypto" | |
51 ngx_feature_test="SSL_library_init()" | |
52 . auto/feature | |
0 | 53 |
586 | 54 if [ $ngx_found = yes ]; then |
55 have=NGX_SSL . auto/have | |
56 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" | |
57 OPENSSL=YES | |
58 fi | |
59 fi | |
132 | 60 |
586 | 61 if [ $OPENSSL != YES ]; then |
496 | 62 |
63 cat << END | |
64 | |
65 $0: error: SSL modules require the OpenSSL library. | |
66 You can either do not enable the modules, or install the OpenSSL library | |
67 into the system, or build the OpenSSL library statically from the source | |
68 with nginx by using --with-openssl=<path> option. | |
69 | |
70 END | |
586 | 71 exit 1 |
72 fi | |
0 | 73 |
74 fi |