Mercurial > hg > nginx
diff src/http/ngx_http.c @ 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 | d1983670b586 |
children | b1add8bfad83 db5bfb61ef9c |
line wrap: on
line diff
--- a/src/http/ngx_http.c Tue Sep 28 06:46:58 2010 +0000 +++ b/src/http/ngx_http.c Tue Sep 28 06:50:52 2010 +0000 @@ -1274,7 +1274,7 @@ 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) {