Welcome! Log In Create A New Profile

Advanced

Re: [Patch] Allow listening on Unix domain sockets

All files from this thread

File Name File Size   Posted by Date  
patch.listen.unix.txt 2.8 KB open | download Igor Sysoev 10/23/2009 Read message
patch.listen.unix1.txt 6.5 KB open | download Igor Sysoev 10/25/2009 Read message
October 23, 2009 05:26PM
On Fri, Oct 23, 2009 at 03:12:33PM +0200, Hongli Lai wrote:

> The attached patch allows Nginx to listen on Unix domain sockets, like
> this:
>
> server {
> listen unix:/tmp/nginx.sock;
> server_name foobar.com;
> root /webapps/foobar;
> }
>
> We use it to improve proxying performance; Unix domain sockets are
> faster than TCP sockets.
>
> I'd like to see this patch getting merged upstream. Could a maintainer
> please review this patch?
>
> With kind regards,
> Hongli Lai
>
> Attachments:
> http://www.ruby-forum.com/attachment/4174/nginx-unix-sockets.diff

Thank you for the patch.
The attached version is more correct, in particular, it allows several
listen sockets:

server {
listen unix:/tmp/nginx1.sock;
server_name foobar1.com;
}

server {
listen unix:/tmp/nginx2.sock;
server_name foobar2.com;
}


--
Igor Sysoev
http://sysoev.ru/en/
Attachments:
open | download - patch.listen.unix.txt (2.8 KB)
Subject Author Posted

[Patch] Allow listening on Unix domain sockets

Hongli Lai October 23, 2009 09:18AM

Re: [Patch] Allow listening on Unix domain sockets

Cliff Wells October 23, 2009 04:22PM

Re: [Patch] Allow listening on Unix domain sockets

Nick Pearson October 23, 2009 04:42PM

Re: Allow listening on Unix domain sockets

Hongli Lai October 23, 2009 04:56PM

Re: [Patch] Allow listening on Unix domain sockets

slact October 23, 2009 04:56PM

Re: [Patch] Allow listening on Unix domain sockets Attachments

Igor Sysoev October 23, 2009 05:26PM

Re: Allow listening on Unix domain sockets

Hongli Lai October 23, 2009 08:04PM

Re: Allow listening on Unix domain sockets Attachments

Igor Sysoev October 25, 2009 06:32AM

Re: Allow listening on Unix domain sockets

Hongli Lai November 17, 2009 05:56AM

Re: Allow listening on Unix domain sockets

Hongli Lai November 17, 2009 06:00AM

Re: Allow listening on Unix domain sockets

Igor Sysoev November 17, 2009 09:16AM

Re: [Patch] Allow listening on Unix domain sockets

Maxim Dounin October 23, 2009 06:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 105
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready