]> git.kaiwu.me - nginx.git/commit
fix race condition if during reconfiguration two cache managers try
authorIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 14:31:47 +0000 (14:31 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 14:31:47 +0000 (14:31 +0000)
commita256afd0649210dd04772d1b9d3a5e8c275e67ca
tree29cface5b43065b8f4096e945e4c413cca653f83
parent3730543c26e5634be792813c312e86dcf77fc3a0
fix race condition if during reconfiguration two cache managers try
to delete old inactive entries: one of them removes a entry just locked by
other manager from the queue and the rbtree as long inactive entry,
causes the latter manager to segfault leaving cache mutex locked,
the bug has been introduced in r3727
src/http/ngx_http_cache.h
src/http/ngx_http_file_cache.c