mirror of
https://github.com/nginx/nginx.git
synced 2024-12-22 23:23:32 -06:00
*) issue warning instead of failure: this is too common case
*) use ngx_log_error(), since OpenSSL does not set an error on the failure
This commit is contained in:
parent
99651523de
commit
c828202087
@ -406,9 +406,10 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||||||
ngx_http_ssl_servername)
|
ngx_http_ssl_servername)
|
||||||
== 0)
|
== 0)
|
||||||
{
|
{
|
||||||
ngx_ssl_error(NGX_LOG_EMERG, cf->log, 0,
|
ngx_log_error(NGX_LOG_WARN, cf->log, 0,
|
||||||
"SSL_CTX_set_tlsext_servername_callback() failed");
|
"nginx was build with SNI support, however, now it is linked "
|
||||||
return NGX_CONF_ERROR;
|
"dynamically to an OpenSSL library which has no tlsext support, "
|
||||||
|
"therefore SNI is not available");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user