Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

2020-10-07 Thread tored
Hi, I'm looking into the same issue; how to improve graceful shutdown when using keep-alive connections. It seems nginx at some point had support for doing graceful shutdown (if i read the code correctly): http://hg.nginx.org/nginx/rev/03f1133f24e8 But it was removed at a later stage: http://hg.

Re: HTTP/3 getsockname Bad file descriptor

2020-10-07 Thread Sergey Kandaurov
> On 7 Oct 2020, at 06:02, Ryan Gould wrote: > > hello all you amazing developers, > > i found some old 2013 references to this error relating to SPDY, but have not > seen anything recently. i am building on a debian 9 box using the latest > code from here: https://hg.nginx.org/nginx-quic u

Re: Keepalived Connections Reset after reloading the configuration (HUP Signal)

2020-10-07 Thread Maxim Dounin
Hello! On Wed, Oct 07, 2020 at 04:29:50AM -0400, tored wrote: > I'm looking into the same issue; how to improve graceful shutdown when using > keep-alive connections. > > It seems nginx at some point had support for doing graceful shutdown (if i > read the code correctly): > http://hg.nginx.org/

Re: HTTP/3 getsockname Bad file descriptor

2020-10-07 Thread Sergey Kandaurov
> On 7 Oct 2020, at 10:33, Sergey Kandaurov wrote: > >> >> On 7 Oct 2020, at 06:02, Ryan Gould wrote: >> >> hello all you amazing developers, >> >> i found some old 2013 references to this error relating to SPDY, but have >> not seen anything recently. i am building on a debian 9 box usi

Nginx bug when mixing map and try_files ?

2020-10-07 Thread Marcin Wanat
Hi, i am doing simple webp client support check using map and then using try_files to check if file exists and serve it. Nginx 1.18, my complete nginx.conf: events { use epoll; worker_connections 128; } http { # Check if client is capable of handling webp map

Re: Nginx bug when mixing map and try_files ?

2020-10-07 Thread Francis Daly
On Wed, Oct 07, 2020 at 06:50:30PM +0200, Marcin Wanat wrote: Hi there, > i am doing simple webp client support check using map and then using > try_files to check if file exists and serve it. $1 may not mean what you want it to mean, when more than one regex-thing is involved. And "map" can be

Re: Nginx bug when mixing map and try_files ?

2020-10-07 Thread Marcin Wanat
Hi, On Wed, Oct 7, 2020 at 8:08 PM Francis Daly wrote: > $1 may not mean what you want it to mean, when more than one regex-thing > is involved. And "map" can be a regex-thing. > > If you change the location regex to whatever your engine's version of > "save this in a named variable" is, then u

Re: Nginx bug when mixing map and try_files ?

2020-10-07 Thread Mr Alex
stfu On Wed, Oct 7, 2020 at 9:35 PM Marcin Wanat wrote: > Hi, > > On Wed, Oct 7, 2020 at 8:08 PM Francis Daly wrote: > > >> $1 may not mean what you want it to mean, when more than one regex-thing >> is involved. And "map" can be a regex-thing. >> >> If you change the location regex to whatever