Re: [PATCH 1 of 4] SSL: switched to detect log level based on the last error

2023-03-07 Thread Roman Arutyunyan
Hi, On Wed, Mar 01, 2023 at 05:56:02PM +0300, Maxim Dounin wrote: > # HG changeset patch > # User Maxim Dounin > # Date 1677682263 -10800 > # Wed Mar 01 17:51:03 2023 +0300 > # Node ID 4d0a265c1d20f22f196680dfcc9d044f9e711865 > # Parent 2acb00b9b5fff8a97523b659af4377fc605abe6e > SSL: switch

Re: [PATCH 2 of 4] SSL: logging levels of various errors reported with tlsfuzzer

2023-03-07 Thread Roman Arutyunyan
Hi, On Wed, Mar 01, 2023 at 05:56:03PM +0300, Maxim Dounin wrote: > # HG changeset patch > # User Maxim Dounin > # Date 1677682421 -10800 > # Wed Mar 01 17:53:41 2023 +0300 > # Node ID c76e163105f1eac7727ce4e6d955fecb38d93e49 > # Parent 4d0a265c1d20f22f196680dfcc9d044f9e711865 > SSL: loggin

Re: [PATCH 3 of 4] SSL: logging levels of errors observed with tlsfuzzer and LibreSSL

2023-03-07 Thread Roman Arutyunyan
Hi, On Wed, Mar 01, 2023 at 05:56:04PM +0300, Maxim Dounin wrote: > # HG changeset patch > # User Maxim Dounin > # Date 1677682426 -10800 > # Wed Mar 01 17:53:46 2023 +0300 > # Node ID 207742991a561c0ed70834d4ce18e8452689419d > # Parent c76e163105f1eac7727ce4e6d955fecb38d93e49 > SSL: loggin

Re: [PATCH 4 of 4] SSL: logging levels of errors observed with BoringSSL

2023-03-07 Thread Roman Arutyunyan
Hi, On Wed, Mar 01, 2023 at 05:56:05PM +0300, Maxim Dounin wrote: > # HG changeset patch > # User Maxim Dounin > # Date 1677682467 -10800 > # Wed Mar 01 17:54:27 2023 +0300 > # Node ID ad67809ab209bd575dac52756ad4aeb5255d430e > # Parent 207742991a561c0ed70834d4ce18e8452689419d > SSL: loggin

Re: [PATCH 1 of 4] SSL: switched to detect log level based on the last error

2023-03-07 Thread Maxim Dounin
Hello! On Tue, Mar 07, 2023 at 06:40:50PM +0400, Roman Arutyunyan wrote: > Hi, > > On Wed, Mar 01, 2023 at 05:56:02PM +0300, Maxim Dounin wrote: > > # HG changeset patch > > # User Maxim Dounin > > # Date 1677682263 -10800 > > # Wed Mar 01 17:51:03 2023 +0300 > > # Node ID 4d0a265c1d20f22f

Re: [PATCH 2 of 4] SSL: logging levels of various errors reported with tlsfuzzer

2023-03-07 Thread Maxim Dounin
Hello! On Tue, Mar 07, 2023 at 06:46:12PM +0400, Roman Arutyunyan wrote: > Hi, > > On Wed, Mar 01, 2023 at 05:56:03PM +0300, Maxim Dounin wrote: > > # HG changeset patch > > # User Maxim Dounin > > # Date 1677682421 -10800 > > # Wed Mar 01 17:53:41 2023 +0300 > > # Node ID c76e163105f1eac7

Re: [PATCH 3 of 4] SSL: logging levels of errors observed with tlsfuzzer and LibreSSL

2023-03-07 Thread Maxim Dounin
Hello! On Tue, Mar 07, 2023 at 06:47:59PM +0400, Roman Arutyunyan wrote: > On Wed, Mar 01, 2023 at 05:56:04PM +0300, Maxim Dounin wrote: > > # HG changeset patch > > # User Maxim Dounin > > # Date 1677682426 -10800 > > # Wed Mar 01 17:53:46 2023 +0300 > > # Node ID 207742991a561c0ed70834d4c

Upstream: Count peer->fails if peers->single is 1

2023-03-07 Thread u5h
Hello. The upstream peer status is always up when the upstream peer is single. FYI: https://github.com/vozlt/nginx-module-vts/issues/262 The conventional upstream round robin hasn't count peer->fails anywhere when it is peers->single is 1. Thus we’d like to only count it, but not to judge that the

[njs] Introduced njs_string_offset() which support any string.

2023-03-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/8170f061bbde branches: changeset: 2066:8170f061bbde user: Dmitry Volyntsev date: Tue Mar 07 20:35:00 2023 -0800 description: Introduced njs_string_offset() which support any string. diffstat: src/njs_iterator.c | 2 +- src/njs_json.c |

[njs] Improved njs_string_create_chb().

2023-03-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/e3a609ff9001 branches: changeset: 2065:e3a609ff9001 user: Dmitry Volyntsev date: Fri Mar 03 18:50:23 2023 -0800 description: Improved njs_string_create_chb(). Adding a more informative description when the function cannot build a valid UTF-8 str

[njs] Making njs_string_prop() a macro.

2023-03-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/107c7098bd6d branches: changeset: 2067:107c7098bd6d user: Dmitry Volyntsev date: Tue Mar 07 20:38:08 2023 -0800 description: Making njs_string_prop() a macro. diffstat: src/njs_string.c | 25 - src/njs_string.h | 26 +

[njs] Fixed String.prototype.replace() with replacement containing "$'", "$`".

2023-03-07 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/10127d70e941 branches: changeset: 2068:10127d70e941 user: Dmitry Volyntsev date: Tue Mar 07 20:51:45 2023 -0800 description: Fixed String.prototype.replace() with replacement containing "$'", "$`". Previously, the resulting string was might be b