aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-18 09:10:16 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-18 09:10:16 +0000
commitc828202087e260425720f01a1564a5feeefc89c1 (patch)
tree368c79c2bed3ab7db5eb4469efebc16f70047073 /src
parent99651523dea8d12dcca03c215acbba301fc821c6 (diff)
downloadnginx-c828202087e260425720f01a1564a5feeefc89c1.tar.gz
nginx-c828202087e260425720f01a1564a5feeefc89c1.zip
*) issue warning instead of failure: this is too common case
*) use ngx_log_error(), since OpenSSL does not set an error on the failure
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 42854b479..7729b760e 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -406,9 +406,10 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
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