[njs] Style.

2022-09-29 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/60cf808fe4ff branches: changeset: 1968:60cf808fe4ff user: Dmitry Volyntsev date: Thu Sep 29 00:35:34 2022 -0700 description: Style. diffstat: src/njs_array.c | 11 --- src/njs_object_prop.c | 9 ++--- 2 files changed, 14 i

Re: [PATCH 01 of 11] SSL: disabled saving tickets to session cache

2022-09-29 Thread Sergey Kandaurov
> On 28 Sep 2022, at 00:14, Maxim Dounin wrote: > > Hello! > > On Mon, Sep 26, 2022 at 02:11:17PM +0400, Sergey Kandaurov wrote: > >>> On 17 Sep 2022, at 00:58, Maxim Dounin wrote: >>> >>> On Thu, Sep 15, 2022 at 09:36:31AM +0400, Sergey Kandaurov wrote: >>> > On 26 Aug 2022, at 07:01,

Re: [PATCH 11 of 11] SSL: automatic rotation of session ticket keys

2022-09-29 Thread Sergey Kandaurov
> On 28 Sep 2022, at 22:37, Maxim Dounin wrote: > > Hello! > > On Mon, Sep 26, 2022 at 02:17:18PM +0400, Sergey Kandaurov wrote: > >>> On 17 Sep 2022, at 01:08, Maxim Dounin wrote: >>> >>> On Thu, Sep 15, 2022 at 09:50:24AM +0400, Sergey Kandaurov wrote: >>> > On 26 Aug 2022, at 07:01,

Send custom response in req. body filter.

2022-09-29 Thread Dk Jack
Hi, In my module I have a body filter. In the body filter, I respond with a 4XX if the body contains a matching pattern. This is working correctly. However, I would like to send a custom response message when the above situation occurs. I tried doing this by attaching a buffer to the output header

[njs] Removed aligned values which are not required since 0.6.0.

2022-09-29 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/c2a05d35ad72 branches: changeset: 1969:c2a05d35ad72 user: Dmitry Volyntsev date: Thu Sep 29 00:47:43 2022 -0700 description: Removed aligned values which are not required since 0.6.0. diffstat: src/njs_function.c | 11 ++- 1 files cha

[njs] Fixed njs_assert() macro.

2022-09-29 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/b61a7a4f286e branches: changeset: 1971:b61a7a4f286e user: Dmitry Volyntsev date: Thu Sep 29 16:32:52 2022 -0700 description: Fixed njs_assert() macro. Previously, the argument was always evaluated, even if NJS_DEBUG was undefined. diffstat: s

[njs] Introduced njs_object_proto_lookup() where appropriate.

2022-09-29 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/7f43ac9cdc30 branches: changeset: 1970:7f43ac9cdc30 user: Dmitry Volyntsev date: Thu Sep 29 16:32:45 2022 -0700 description: Introduced njs_object_proto_lookup() where appropriate. diffstat: src/njs_function.c | 21 + src/