Re: Why not remove UNIX domain socket before bind

2016-11-29 Thread Shuxin Yang
Hi, Datong: I don't think fixing #753 resolves all the trouble: it does not help for scenario 1 at all. For scenario 2, it only help if nginx is terminated by SIGQUIT; however, Nginx could be killed by other signals, say SIGKILL. Thanks Shuxin On 11/29/2016 11:11 PM, Datong Sun via ngin

Re: Why not remove UNIX domain socket before bind

2016-11-29 Thread Datong Sun via nginx-devel
Hello Shuxin, I have seen the same issue before. As far as I can tell this is simply a bug instead of by design (correct me if I'm wrong). I can also confirm that nginx will leave behind the listening socket file when terminated with SIGQUIT. There has been a bug report opened more than a year ago

Add auto Option to autoindex module

2016-11-29 Thread Aaron U'Ren
I recently came across the need to have multiple formats returned from the autoindex module based on the client. When a human hits the index page I needed it returned in HTML format. However, when an application fetched the index page it was much simpler for it to digest and parse JSON or XML. With

Re: [PATCH 1 of 2] HTTP: add support for "429 Too Many Requests" response (RFC6585)

2016-11-29 Thread Piotr Sikora via nginx-devel
Hey, > # HG changeset patch > # User Piotr Sikora > # Date 1476859139 25200 > # Tue Oct 18 23:38:59 2016 -0700 > # Node ID 1eec5355ef1e4a8b0aecebdec84c744734c0d36e > # Parent 8081e1f3ab8b9ccb4e2d7f9240cbfb8e404a3c95 > HTTP: add support for "429 Too Many Requests" response (RFC6585). > > Thi

Re: [PATCH 1 of 6] SSL: define NGX_SSL_VERIFY constants

2016-11-29 Thread Piotr Sikora via nginx-devel
Hey Maxim, > How is that related to the commit in question? > > Please note that I pinged you on 3 out of 6 commits, which I'm > interested in getting in, regardless of ngx_ssl_verify_client() & > friends. Ping. Best regards, Piotr Sikora ___ nginx-de

Why not remove UNIX domain socket before bind

2016-11-29 Thread Shuxin Yang
Hi, There: Is there any reason not to delete UNIX domain socket before bind? It is bit inconvenient when : 1). debugging: previous debugging session quit prematurely without erasing the UNIX domain socket, and the subsequent debugging session only see "address already in use" error messa

[PATCH] Fix MinGW64 compilation

2016-11-29 Thread Orgad Shaneh
# HG changeset patch # User Orgad Shaneh # Date 1480405065 -7200 # Tue Nov 29 09:37:45 2016 +0200 # Node ID e036a4628d9cc8803579d7d41848d528488eca6d # Parent 52bd8cc17f34bbebcb4d2ce3651b40af7d572d55 Fix MinGW64 compilation diff -r 52bd8cc17f34 -r e036a4628d9c auto/configure --- a/auto/confi

[PATCH] Use .exe for binaries for all win32 compilers

2016-11-29 Thread Orgad Shaneh
Hi, I'm not sure if this is the right place to do this. Please review and comment. # HG changeset patch # User Orgad Shaneh # Date 1480411801 -7200 # Tue Nov 29 11:30:01 2016 +0200 # Node ID 017b0c3afbbf960b9f29a892a82a77e9f17b6774 # Parent e036a4628d9cc8803579d7d41848d528488eca6d Use .exe

RE: Add support for 'nocache' flag to map directive

2016-11-29 Thread Eran Kornblau
> > From: nginx-devel [mailto:nginx-devel-boun...@nginx.org] On Behalf Of Sorin > Manole > Sent: Tuesday, November 29, 2016 7:19 AM > To: nginx-devel@nginx.org > Subject: Re: Add support for 'nocache' flag to map directive > > Would it make sense to add nocacheable if input_var or one of the var