]> git.kaiwu.me - njs.git/commit
Modules: fixed clear() method of a shared dictionary without timeout.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 20 Mar 2024 04:05:51 +0000 (21:05 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Wed, 20 Mar 2024 04:05:51 +0000 (21:05 -0700)
commit06bfcbf1a10750cd8af71c2bc6df484512a84ea2
tree504d3d983fd749cb6056dee9116cf2b4f2307b72
parent3696cab89aa1f0e9aba5e7708f9b4a64dbbf7d02
Modules: fixed clear() method of a shared dictionary without timeout.

Previously, the code did not unlock the rwlock when a dict was empty.

The issue was introduced in 4a15613f4e8b (0.8.3).

This closes issue #699 on Github.
nginx/ngx_js_shared_dict.c
nginx/t/js_shared_dict.t