]> git.kaiwu.me - njs.git/commit
Modules: fixed items() method of a shared dictionary.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 17 Oct 2023 01:09:37 +0000 (18:09 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 17 Oct 2023 01:09:37 +0000 (18:09 -0700)
commitf26319b4566f9852e48f6660e14132968de699e6
treeebdca5135a7d78b7f4183653b90977d27523387a
parent280d11299e83bcc6098c2bc133ede54da9e700da
Modules: fixed items() method of a shared dictionary.

Previously, under a memory pressure the method might return
prematurely while still holding the mutex for the shared memory.

This fixes #676 issue on Github.
nginx/ngx_js_shared_dict.c