[njs] Moving out setTimeout() and clearTimeout() from njs core.

2023-11-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/dffdf7c50dfc branches: changeset: 2238:dffdf7c50dfc user: Dmitry Volyntsev date: Tue Nov 21 09:00:52 2023 -0800 description: Moving out setTimeout() and clearTimeout() from njs core. This functions are not part of the ECMAScript and should be im

[njs] Renaming ngx_js_retval() to ngx_js_exception().

2023-11-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/896e7e271382 branches: changeset: 2237:896e7e271382 user: Dmitry Volyntsev date: Tue Nov 21 08:57:09 2023 -0800 description: Renaming ngx_js_retval() to ngx_js_exception(). After previous commit ngx_js_retval() is only used for getting the excep

[njs] Modules: fixed js_set with Buffer values.

2023-11-21 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/1d13f6e877ad branches: changeset: 2236:1d13f6e877ad user: Dmitry Volyntsev date: Tue Nov 21 08:57:03 2023 -0800 description: Modules: fixed js_set with Buffer values. Previously, a Buffer value which contains invalid UTF-8 when returned as a val

[njs] Fixed memory overlapping.

2023-11-21 Thread Vadim Zhestikov via nginx-devel
details: https://hg.nginx.org/njs/rev/8e024f36e38e branches: changeset: 2235:8e024f36e38e user: Vadim Zhestikov date: Tue Nov 21 06:49:30 2023 -0800 description: Fixed memory overlapping. diffstat: src/njs_iterator.c | 22 ++ src/test/njs_unit_test.c |