Mercurial > hg > nginx
changeset 3140:ba9a8ba4207e
*) issue warning instead of failure: this is too common case
*) use ngx_log_error(), since OpenSSL does not set an error on the failure
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 18 Sep 2009 09:10:16 +0000 |
parents | 5f6144fc674d |
children | cbee9c114504 |
files | src/http/modules/ngx_http_ssl_module.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c Wed Sep 16 13:48:11 2009 +0000 +++ b/src/http/modules/ngx_http_ssl_module.c Fri Sep 18 09:10:16 2009 +0000 @@ -406,9 +406,10 @@ ngx_http_ssl_servername) == 0) { - ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0, - "SSL_CTX_set_tlsext_servername_callback() failed"); - return NGX_CONF_ERROR; + ngx_log_error(NGX_LOG_WARN, cf->log, 0, + "nginx was build with SNI support, however, now it is linked " + "dynamically to an OpenSSL library which has no tlsext support, " + "therefore SNI is not available"); } #endif