diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2020-10-08 17:44:34 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2020-10-08 17:44:34 +0300 |
commit | 9381ecb1854cca89a936ffbaeb82f40ec13d7f41 (patch) | |
tree | 004f1509a01ccab0906510ad589d72e5b257a729 /src/misc/ngx_cpp_test_module.cpp | |
parent | 1e92a0a4cef98902aed35d7b402a6a402951aba4 (diff) | |
download | nginx-9381ecb1854cca89a936ffbaeb82f40ec13d7f41.tar.gz nginx-9381ecb1854cca89a936ffbaeb82f40ec13d7f41.zip |
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.
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions