]> git.kaiwu.me - njs.git/commit
QuickJS: fixed js_body_filter with multiple chunks.
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 10 Jan 2026 02:08:56 +0000 (18:08 -0800)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 12 Jan 2026 22:24:14 +0000 (14:24 -0800)
commitaa0f3e501bffe8736fe1ada80d68a48b57432d00
treece53c9ee3a4d01d3c6c16ba661f55a0ce10da31c
parent75d6b61a3800f77ba7ba75db445876d780ed1c18
QuickJS: fixed js_body_filter with multiple chunks.

Previously, last_key atoms was freed too early. Also, js_body_filter.t
is modified to ensure js_body_filter sees multiple data chains to catch
the issue.
nginx/ngx_http_js_module.c
nginx/t/js_body_filter.t