Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Marcin Wanat
Hi Maxim, does Nginx have plans to adopt BBR as congestion control when using QUIC ? Regards, Marcin Wanat On Tue, Jul 13, 2021 at 10:15 AM Maxim Konovalov wrote: > Hi, > > Liam Crilly just published recently a good summary where we are with the > QUIC and HTTP/3 implementation for nginx and

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Vladimir Homutov
On Tue, Jul 13, 2021 at 06:55:14PM +1000, Mathew Heard wrote: > Hi Maxim, > > Really interesting read. > > Do you have any plans for resolving the SIGHUP causes session closure > issues that currently exist with nginx-quic? The closure of long lived > connections has been a thorn in the side of

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Vladimir Homutov
On Tue, Jul 13, 2021 at 05:29:15PM +0530, Raminda Subashana wrote: > Hi Maxim, > > Just tested nginx-quic release and there is a performance issue. I compared > it with Cloudflare quic experimental release which is based on nginx 1.16. > > It is almost 3 times slower than 1.16. Below config worked

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Raminda Subashana
Hi Vladimir, Sure I'll share all the information. Thanks On Tue, Jul 13, 2021 at 6:44 PM Vladimir Homutov wrote: > On Tue, Jul 13, 2021 at 05:29:15PM +0530, Raminda Subashana wrote: > > Hi Maxim, > > > > Just tested nginx-quic release and there is a performance issue. I > compared > > it with

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Raminda Subashana
Hi Maxim, Just tested nginx-quic release and there is a performance issue. I compared it with Cloudflare quic experimental release which is based on nginx 1.16. It is almost 3 times slower than 1.16. Below config worked for me and it never advertised h3-29. if you have specific config file to

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Mathew Heard
Hi Vladimir, Within the main users of HTTP/3 we are seeing an uptick in users doing long lived connections and users using previously niche features (such as server push) leading to an expectation of near indefinite session life (and websocket isnt yet available for http/3). Basically

QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Maxim Konovalov
Hi, Liam Crilly just published recently a good summary where we are with the QUIC and HTTP/3 implementation for nginx and our short term plans: https://www.nginx.com/blog/our-roadmap-quic-http-3-support-nginx/ -- Maxim Konovalov ___ nginx mailing

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Mathew Heard
Hi Maxim, Really interesting read. Do you have any plans for resolving the SIGHUP causes session closure issues that currently exist with nginx-quic? The closure of long lived connections has been a thorn in the side of people doing HTTP/1.1 web sockets (and probably HTTP/2 push) for many years.

Re: QUIC and HTTP/3 roadmap blog post

2021-07-13 Thread Raminda Subashana
Hi Maxim, Really interesting post, can I publish this on my personal blog, is it legal? Thanks & Regards, Raminda On Tue, Jul 13, 2021 at 2:25 PM Mathew Heard wrote: > Hi Maxim, > > Really interesting read. > > Do you have any plans for resolving the SIGHUP causes session closure > issues

Re: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Šimon Tóth
How would that work? >From the presentation on RTMP it looks like that nginx is just serving cached VODs instead of the actual stream. And even if it can actually proxy the requests (which I doubt), it can't be configured dynamically. On Tue, Jul 13, 2021 at 9:20 PM Reinis Rozitis wrote: > >

RE: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Reinis Rozitis
> OK, after doing more research myself I'm pretty sure that nginx can't proxy > HLS streams. There is nothing special about HLS it is just simple http requests which nginx can serve/proxy just fine. What were the issues you have encountered? rr

RE: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Reinis Rozitis
From: nginx [mailto:nginx-boun...@nginx.org] On Behalf Of Šimon Tóth Sent: otrdiena, 2021. gada 13. jūlijs 20:54 To: nginx@nginx.org Subject: Re: Using nginx as a HLS reverse proxy with Envoy? OK, after doing more research myself I'm pretty sure that nginx can't proxy HLS streams.

Re: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Šimon Tóth
OK, after doing more research myself I'm pretty sure that nginx can't proxy HLS streams. It can proxy (pull) RTMP streams, however if I understand it correctly, these streams have to be statically configured in configs (which is not my use case). -- Simon Toth On Mon, Jul 12, 2021 at 10:34 AM

RE: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Reinis Rozitis
> How would that work? > From the presentation on RTMP it looks like that nginx is just serving cached > VODs instead of the actual stream. RTMP and HLS are two different streaming technologies. HLS just consists of a playlist (.m3u8) file (usually the player reads it by continuously making

Re: Using nginx as a HLS reverse proxy with Envoy?

2021-07-13 Thread Šimon Tóth
On Tue, Jul 13, 2021 at 10:41 PM Reinis Rozitis wrote: > > How would that work? > > From the presentation on RTMP it looks like that nginx is just serving > cached VODs instead of the actual stream. > > RTMP and HLS are two different streaming technologies. > HLS just consists of a playlist

Re: body filter redirect

2021-07-13 Thread Maxim Dounin
Hello! On Mon, Jul 12, 2021 at 12:47:46PM -0700, Dk Jack wrote: > Hi, > In my module, I am trying to take actions based on the content of the body. > To accomplish this, I am capturing the body using body file as shown in the > example below: > >

[njs] Added fs flags missed in 5c6aa60224cb (0.1.15).

2021-07-13 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/537f897451ef branches: changeset: 1676:537f897451ef user: hyeonisism date: Tue Jul 13 10:23:23 2021 +0900 description: Added fs flags missed in 5c6aa60224cb (0.1.15). This closes #405 issue on Github. diffstat: src/njs_fs.c | 2 ++ 1 files

[njs] Added support for ArrayBuffer in njs_vm_value_to_bytes().

2021-07-13 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/e37a80fac86f branches: changeset: 1677:e37a80fac86f user: Dmitry Volyntsev date: Tue Jul 13 15:22:24 2021 + description: Added support for ArrayBuffer in njs_vm_value_to_bytes(). diffstat: src/njs_vm.c | 22 +- 1

Re: Fwd: Proposal: Add .mjs file extension to known to be JS

2021-07-13 Thread Maxim Dounin
Hello! On Mon, Jul 12, 2021 at 09:24:49AM -0500, Bradley Farias wrote: > See Add .mjs file extension to known JS mime types by bmeck · Pull Request > #71 · nginx/nginx (github.com) and > the related Use .mjs for modules more consistently by mathiasbynens

Re: Fwd: Proposal: Add .mjs file extension to known to be JS

2021-07-13 Thread Bradley Farias
The proposal instructions on the nginx website state that it is for bug fixes and so it seems that would be the wrong place to put a proposal. I can do so and cross reference. To be clear; whatwg is using it in their specifications without any Node usage implied; if files are produced with that

Re: Fwd: Proposal: Add .mjs file extension to known to be JS

2021-07-13 Thread Maxim Dounin
Hello! On Tue, Jul 13, 2021 at 12:48:51PM -0500, Bradley Farias wrote: > The proposal instructions on the nginx website state that it is for > bug fixes and so it seems that would be the wrong place to put a proposal. > I can do so and cross reference. Thanks for the ticket. > To be clear;

Re: body filter redirect

2021-07-13 Thread Dk Jack
Hello Maxim, Thanks for responding. Can I get some clarification on what you mean by the statement below: "More flexibility can be achieved by reading the request body earlier - for example, you can do this from your own module, or with embedded scripting such as perl or njs." Are you suggesting