]> git.kaiwu.me - nginx.git/commit
Index: fixed handling of non-cacheable variables.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 18 Jul 2026 16:45:55 +0000 (19:45 +0300)
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>
Thu, 5 Nov 2026 15:50:02 +0000 (19:50 +0400)
commit62f94cf696cddc8c3e68a957cc52191a316621b1
treedba23de6f56940d3c3ada9ed82ced57a751419c8
parentd45e6c5c49b54a8146c79df81a9caa0196698eb9
Index: fixed handling of non-cacheable variables.

Previously, "e.flushed = 1;" was incorrectly used during initial length
calculations, and as a result non-cacheable variables were not flushed.
The fix is to only set "e.flushed" when evaluating values.

A similar issue in try_files was fixed in 2424:46d11bff21ef (0.7.29).

Origin: <https://freenginx.org/hg/nginx/rev/511b31fbc525>
Signed-off-by: Roman Arutyunyan <arut@nginx.com>
src/http/modules/ngx_http_index_module.c