]> git.kaiwu.me - njs.git/commit
Modules: abort shared dict state save on close failure
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 9 Oct 2026 23:03:38 +0000 (16:03 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Thu, 15 Oct 2026 01:49:05 +0000 (18:49 -0700)
commit64f5c15ec8797947e18afe5ff1de04cbd963a7dd
tree2a619f4e8b266831d8da39d0aaff98f5e123f5b8
parentb543510147bc56166dc76bd583193dee34db7ac2
Modules: abort shared dict state save on close failure

A close failure may report a delayed write error.  Do not rename the
temporary file over the previous state file in this case.  Invalidate
the descriptor before cleanup to avoid closing it twice.
nginx/ngx_js_shared_dict.c