# HG changeset patch # User Igor Sysoev # Date 1285656652 0 # Node ID 098cd81198610a58b99a44ea6bd357896a1bfb49 # Parent 841ef476eb21ead1eb5d0ad233299bbb36d8580f nginx uses SSL mode for a listen socket with any option set, the bug has been introduced in r3765 diff -r 841ef476eb21 -r 098cd8119861 src/http/ngx_http.c --- 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) {