Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-09-28 10:50:52 +0400
committerIgor Sysoev <igor@sysoev.ru>2010-09-28 10:50:52 +0400
commitbfec9887cea00361e670e10da4862bc036437509 (patch)
tree90c7a5083d438cc1085d35c1862de0e2a2d3faa7 /src/http/ngx_http.c
parenta397c7faaa3e31b029a6b724dae62a2df4bce841 (diff)
nginx uses SSL mode for a listen socket with any option set,
the bug has been introduced in r3765
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 58fc7afe5..4ecd50ce8 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -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) {