changeset 3768:098cd8119861

nginx uses SSL mode for a listen socket with any option set, the bug has been introduced in r3765
author Igor Sysoev <igor@sysoev.ru>
date Tue, 28 Sep 2010 06:50:52 +0000
parents 841ef476eb21
children 67dd7533b99c
files src/http/ngx_http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1274,7 +1274,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, n
         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) {