diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-08-13 16:08:38 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-08-13 16:08:38 +0300 |
commit | b04b5ce430ef055a7552b9fc451ca23f7d5effb3 (patch) | |
tree | c2d79beb714b5ca5fc71f4ed862420869d9bb756 /test/test_variables.py | |
parent | b9ed3384cb620618c2622e387d1770bb8c43ff13 (diff) | |
download | unit-b04b5ce430ef055a7552b9fc451ca23f7d5effb3.tar.gz unit-b04b5ce430ef055a7552b9fc451ca23f7d5effb3.tar.bz2 |
Fixing router assertion in result of application prefork error.
Buffer for application prefork request allocated from temp conf mem_pool.
If error response from main process received before buffer completion handler,
temp conf mem_pool destroyed and router may crash in completion handler.
Assertion "src/nxt_buf.c:208 assertion failed: data == b->parent" triggered
when NXT_DEBUG_ALLOC enabled in configure.
This patch disables completion handler and memory allocated for buffer
released with memory pool.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions