[njs] QuickJS: fixed shared dict in stream module.

noreply at nginx.com noreply at nginx.com
Sat Feb 8 02:15:02 UTC 2025


details:   https://github.com/nginx/njs/commit/246f4ca082f125fd1fd20ddc7cb45e40f19de04d
branches:  master
commit:    246f4ca082f125fd1fd20ddc7cb45e40f19de04d
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon, 3 Feb 2025 09:07:22 -0800
description:
QuickJS: fixed shared dict in stream module.

The change was missed in 352c2e59 (0.8.8).

---
 nginx/ngx_stream_js_module.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nginx/ngx_stream_js_module.c b/nginx/ngx_stream_js_module.c
index 5f4c6a04..21f65165 100644
--- a/nginx/ngx_stream_js_module.c
+++ b/nginx/ngx_stream_js_module.c
@@ -836,6 +836,7 @@ static JSClassDef ngx_stream_qjs_variables_class = {
 
 qjs_module_t *njs_stream_qjs_addon_modules[] = {
     &ngx_qjs_ngx_module,
+    &ngx_qjs_ngx_shared_dict_module,
     /*
      * Shared addons should be in the same order and the same positions
      * in all nginx modules.


More information about the nginx-devel mailing list