last modified time | relevance | path

Searched hist:1566 (Results 1 – 1 of 1) sorted by relevance

H A Dnxt_router.cdiff 1566:10f957c3094e Thu Aug 13 13:08:00 UTC 2020 Max Romanov <max.romanov@nginx.com> 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.