diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-07-23 14:25:21 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-07-23 14:25:21 +0300 |
commit | 9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67 (patch) | |
tree | d282d8bd28db83747848a8b76cba5052b16af081 /src/nxt_http_route.c | |
parent | d3c8d622807c058c0f8aff6714cf40585b08faa5 (diff) | |
download | unit-9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67.tar.gz unit-9641fb0ef1d708bb9ec8c00ea5ec694829e4fd67.tar.bz2 |
Fixing various router crashes on exit caused by runtime pool free.
Currently, the router exits without waiting for the worker threads to stop.
There is a short gap between the runtime memory pool's free and the exit, during
which a worker thread may try to access a runtime structure. In turn, this may
cause a crash. For now, it is better to keep this memory allocated.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions