commit | 007642e11cd074d4c154ce69790c82dcd8df2c1b | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 08 17:44:34 2020 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 08 17:44:34 2020 +0300 |
tree | 004f1509a01ccab0906510ad589d72e5b257a729 | |
parent | 2f4722b84d29e72089d5e9e56a69b34a1f3bb811 [diff] |
Limit req: unlocking of nodes on complex value errors. Previously, if there were multiple limits configured, errors in ngx_http_complex_value() during processing of a non-first limit resulted in reference count leak in shared memory nodes of already processed limits. Fix is to explicity unlock relevant nodes, much like we do when rejecting requests.