Re: [PATCH 2 of 3] Stream: virtual servers

2023-12-14 Thread Sergey Kandaurov
On Thu, Dec 14, 2023 at 10:22:24AM +0400, Roman Arutyunyan wrote: > Hi, > > On Wed, Dec 13, 2023 at 05:40:09PM +0400, Sergey Kandaurov wrote: > > [..] > > > > This introduces accept_filter, deferred_accept, and setfib fields, > > which is out of scope of this change. Anyway, this is useless > >

Re: Core: Avoid memcpy from NULL

2023-12-14 Thread Maxim Dounin
Hello! On Wed, Dec 13, 2023 at 11:09:28AM -0500, Ben Kallus wrote: > Nginx executes numerous `memcpy`s from NULL during normal execution. > `memcpy`ing to or from NULL is undefined behavior. Accordingly, some > compilers (gcc -O2) make optimizations that assume `memcpy` arguments > are not NULL.

[njs] Introduced njs_vm_set_module_loader().

2023-12-14 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/ad1a7ad3c715 branches: changeset: 2248:ad1a7ad3c715 user: Dmitry Volyntsev date: Wed Dec 13 18:38:47 2023 -0800 description: Introduced njs_vm_set_module_loader(). diffstat: external/njs_shell.c | 1 - nginx/ngx_http_js_module.c |

[njs] Moving out logger from njs core.

2023-12-14 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/fc1001f6801b branches: changeset: 2249:fc1001f6801b user: Dmitry Volyntsev date: Thu Dec 14 22:32:02 2023 -0800 description: Moving out logger from njs core. Logger is not part of the JS runtime according to ECMAScript and should be implemented

[PATCH] Add ssl_client_tls_bind variable

2023-12-14 Thread Rob Casey
First time caller, long time listener. This patch introduces the variable $ssl_client_tls_bind which provides the last Finished message returned by the OpenSSL SSL_get_peer_finished() function. The value returned by this function may be used in TLS channel binding operations as described in RFC 59