Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.51

All files from this thread

File Name File Size   Posted by Date  
nginx-0.8.51-1.fc13.omega13a.src.rpm 662.5 KB open | download Brandon Amaro 09/27/2010 Read message
September 28, 2010 02:54AM
On Mon, Sep 27, 2010 at 06:56:29PM -0700, Xin LI wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi,
>
> On 2010/09/27 06:41, Igor Sysoev wrote:
> > *) Feature: now a listen socket "ssl" parameter may be set several
> > times.
>
> It seems that when one have both HTTP and HTTPS service under the same
> host name, the HTTP service would break (asking for SSL certificate, log
> says: no "ssl_certificate" is defined in server listening on SSL port
> while SSL handshaking, client: 67.195.111.174, server: 0.0.0.0:80).
>
> I think it is a bug, the problem is that when SSL support is compiled
> in, all HTTP servers would be considered as SSL since their opt.set is 1.
>
> Attached patch should fix the problem (I am not very familiar with the
> code though).

The attched patch fixes the bug.

> Thanks for your work on nginx! :)

Thanks for your work on FreeBSD! :)


--
Igor Sysoev
http://sysoev.ru/en/
Index: src/http/ngx_http.c
===================================================================
--- src/http/ngx_http.c (revision 3087)
+++ src/http/ngx_http.c (working copy)
@@ -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) {
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx-0.8.51

Igor Sysoev September 27, 2010 09:48AM

Problem starting nginx after upgrading to 0.8.51 Attachments

Brandon Amaro September 27, 2010 06:20PM

Re: Problem starting nginx after upgrading to 0.8.51

Joe September 27, 2010 09:22PM

Re: Problem starting nginx after upgrading to 0.8.51

Brandon Amaro September 27, 2010 10:26PM

install nginx on 64 bit gives undefined symbol ngx_http_core_module

moorthi October 14, 2010 04:50AM

Re: install nginx on 64 bit gives undefined symbol ngx_http_core_module

Maxim Dounin October 14, 2010 05:00AM

Re: nginx-0.8.51

lhmwzy September 27, 2010 07:30PM

Re: nginx-0.8.51

lhmwzy September 27, 2010 07:56PM

Re: nginx-0.8.51

Wendal Chen September 27, 2010 09:16PM

Re: nginx-0.8.51

Xin LI September 27, 2010 10:02PM

Re: nginx-0.8.51

Igor Sysoev September 28, 2010 02:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 199
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready