comparison auto/lib/md5/conf @ 622:8dc007eddbcf NGINX_1_0_1

nginx 1.0.1 *) Change: now the "split_clients" directive uses MurmurHash2 algorithm because of better distribution. Thanks to Oleg Mamontov. *) Change: now long strings starting with zero are not considered as false values. Thanks to Maxim Dounin. *) Change: now nginx uses a default listen backlog value 511 on Linux. *) Feature: the $upstream_... variables may be used in the SSI and perl modules. *) Bugfix: now nginx limits better disk cache size. Thanks to Oleg Mamontov. *) Bugfix: a segmentation fault might occur while parsing incorrect IPv4 address; the bug had appeared in 0.9.3. Thanks to Maxim Dounin. *) Bugfix: nginx could not be built by gcc 4.6 without --with-debug option. *) Bugfix: nginx could not be built on Solaris 9 and earlier; the bug had appeared in 0.9.3. Thanks to Dagobert Michelsen. *) Bugfix: $request_time variable had invalid values if subrequests were used; the bug had appeared in 0.8.47. Thanks to Igor A. Valcov.
author Igor Sysoev <http://sysoev.ru>
date Tue, 03 May 2011 00:00:00 +0400
parents 53f5f04a64b8
children d0f7a625f27c
comparison
equal deleted inserted replaced
621:00d13b6d4ebd 622:8dc007eddbcf
12 else 12 else
13 # rsaref md5 13 # rsaref md5
14 OPENSSL_MD5=NO 14 OPENSSL_MD5=NO
15 fi 15 fi
16 16
17 have=NGX_HAVE_MD5 . auto/have
17 CORE_INCS="$CORE_INCS $MD5" 18 CORE_INCS="$CORE_INCS $MD5"
18 19
19 case "$NGX_CC_NAME" in 20 case "$NGX_CC_NAME" in
20 21
21 msvc* | owc* | bcc) 22 msvc* | owc* | bcc)
49 MD5=NO 50 MD5=NO
50 51
51 # FreeBSD, Solaris 10 52 # FreeBSD, Solaris 10
52 53
53 ngx_feature="system md library" 54 ngx_feature="system md library"
54 ngx_feature_name= 55 ngx_feature_name=NGX_HAVE_MD5
55 ngx_feature_run=no 56 ngx_feature_run=no
56 ngx_feature_incs="#include <md5.h>" 57 ngx_feature_incs="#include <md5.h>"
57 ngx_feature_path= 58 ngx_feature_path=
58 ngx_feature_libs="-lmd" 59 ngx_feature_libs="-lmd"
59 ngx_feature_test="MD5_CTX md5; MD5Init(&md5)" 60 ngx_feature_test="MD5_CTX md5; MD5Init(&md5)"
85 86
86 ngx_md5_lib="system crypto" 87 ngx_md5_lib="system crypto"
87 88
88 if [ $ngx_found = yes ]; then 89 if [ $ngx_found = yes ]; then
89 have=NGX_HAVE_OPENSSL_MD5_H . auto/have 90 have=NGX_HAVE_OPENSSL_MD5_H . auto/have
91 have=NGX_HAVE_MD5 . auto/have
90 fi 92 fi
91 fi 93 fi
92 94
93 if [ $ngx_found = yes ]; then 95 if [ $ngx_found = yes ]; then
94 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 96 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
95 MD5=YES 97 MD5=YES
96 MD5_LIB=$ngx_md5_lib 98 MD5_LIB=$ngx_md5_lib
97 fi 99 fi
98 fi 100 fi
99 101
100 if [ $MD5 != YES ]; then
101 cat << END
102
103 $0: error: the HTTP cache module requires md5 functions
104 from OpenSSL library. You can either disable the module by using
105 --without-http-cache option, or install the OpenSSL library into the system,
106 or build the OpenSSL library statically from the source with nginx by using
107 --with-http_ssl_module --with-openssl=<path> options.
108
109 END
110 exit 1
111 fi
112
113 fi 102 fi