[njs] HTTP: avoiding arithmetic ops with NULL pointer in r.args getter.

2024-01-11 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/4fba78789fe4 branches: changeset: 2267:4fba78789fe4 user: Dmitry Volyntsev date: Thu Jan 11 15:13:47 2024 -0800 description: HTTP: avoiding arithmetic ops with NULL pointer in r.args getter. Found by UndefinedBehaviorSanitizer. diffstat: ngin

[njs] QueryString: avoiding arithmetic ops with NULL in parse().

2024-01-11 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/2b221f44efa6 branches: changeset: 2266:2b221f44efa6 user: Dmitry Volyntsev date: Thu Jan 11 15:13:43 2024 -0800 description: QueryString: avoiding arithmetic ops with NULL in parse(). Found by UndefinedBehaviorSanitizer. diffstat: external/nj

Re: processing a request without body

2024-01-11 Thread Maxim Dounin
Hello! On Fri, Jan 12, 2024 at 03:26:39AM +0800, Muhammad Nuzaihan wrote: > Hi Maxim, > > After searching the archives, I found the solution which you had > answered before: > https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4 > > The code that reads the body

MIME: mjs file extension

2024-01-11 Thread kaloyan.niko...@4dcoders.com
Hello everyone! I am proposing to add the mjs file extension to the mime-types, because the lack of it causes some problems with apps (in this case Nextcloud) . I have reviewed the old discussion about the change from application/javascript to text/javascript and I understand the position of d

Re: processing a request without body

2024-01-11 Thread Muhammad Nuzaihan
Hi Maxim, After searching the archives, I found the solution which you had answered before: https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4 The code that reads the body is: rc = ngx_http_read_client_request_body(r, ngx_http_f

Re: [PATCH 6 of 6] Stream: the "setfib" parameter of the "listen" directive

2024-01-11 Thread Roman Arutyunyan
Hi, On Fri, Dec 15, 2023 at 07:37:49PM +0400, Sergey Kandaurov wrote: > # HG changeset patch > # User Sergey Kandaurov > # Date 1702651328 -14400 > # Fri Dec 15 18:42:08 2023 +0400 > # Node ID 219662ea1613ab68d4d5d4085394bba75993ae42 > # Parent 9be627b7a3a35c00be13332f553e2d3b778877ae > Str

Re: [PATCH 5 of 6] Stream: the "accept_filter" parameter of the "listen" directive

2024-01-11 Thread Roman Arutyunyan
Hi, On Fri, Dec 15, 2023 at 07:37:48PM +0400, Sergey Kandaurov wrote: > # HG changeset patch > # User Sergey Kandaurov > # Date 1702650593 -14400 > # Fri Dec 15 18:29:53 2023 +0400 > # Node ID 9be627b7a3a35c00be13332f553e2d3b778877ae > # Parent cca722e447f8beaaa6b41a620c8b4239a5d1aa7d > Str