nginx uses SSL mode for a listen socket with any option set,

the bug has been introduced in r3765
This commit is contained in:
Igor Sysoev 2010-09-28 06:50:52 +00:00
parent a397c7faaa
commit bfec9887ce

View File

@ -1274,7 +1274,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
default_server = addr[i].opt.default_server;
#if (NGX_HTTP_SSL)
ssl = lsopt->ssl || addr[i].opt.set;
ssl = lsopt->ssl || addr[i].opt.ssl;
#endif
if (lsopt->set) {