]> git.kaiwu.me - njs.git/commit
Fetch: limit decoded chunked response bodies
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 16 Sep 2026 00:45:14 +0000 (17:45 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Wed, 16 Sep 2026 21:17:38 +0000 (14:17 -0700)
commita643c7133e53ea319023a71ae652b3a18805e2a2
treedeb742285d7a959910930132397bf7566f156811
parent780f43317352be57ea2e7ffd9ad51d53d5b56869
Fetch: limit decoded chunked response bodies

Previously, fetch allowed decoded chunked bodies to reach ten times
max_response_body_size.

The fix is to apply max_response_body_size to decoded chunks.
nginx/ngx_js_http.c
nginx/t/js_fetch.t