]> git.kaiwu.me - nginx.git/commit
Autoindex: use temporary pool for directory entries master
authorSrujan Rai <raisrujan@gmail.com>
Mon, 4 May 2026 11:32:43 +0000 (17:02 +0530)
committerSergey Kandaurov <s.kandaurov@f5.com>
Wed, 22 Jul 2026 12:43:02 +0000 (16:43 +0400)
commiteaac3d771b21adf4e3ca6cd79bdb398f973a1047
treee4639180b0892eaad0add3ebd7d6c09c8c202762
parentad8c94a6353767e4b03d9c3f66ab6babfb1d5854
Autoindex: use temporary pool for directory entries

Directory listing entries (file names, metadata) were allocated
from the request pool and lived until request teardown.  Use a
temporary pool instead, destroying it immediately after the
response buffer is built.
src/http/modules/ngx_http_autoindex_module.c