Mercurial > hg > nginx
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 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) {