summaryrefslogtreecommitdiffhomepage
path: root/go
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-08-13 16:08:38 +0300
committerMax Romanov <max.romanov@nginx.com>2020-08-13 16:08:38 +0300
commitb04b5ce430ef055a7552b9fc451ca23f7d5effb3 (patch)
treec2d79beb714b5ca5fc71f4ed862420869d9bb756 /go
parentb9ed3384cb620618c2622e387d1770bb8c43ff13 (diff)
downloadunit-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 'go')
0 files changed, 0 insertions, 0 deletions