summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/request.go
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-04-19 19:48:58 +0300
committerValentin Bartenev <vbart@nginx.com>2018-04-19 19:48:58 +0300
commita20830ff554a10094894e825ef9124c4a81745b6 (patch)
treec247972e1c0e86c207ba0e78d2b92908323fa535 /src/go/unit/request.go
parentda22c2ca96d9484eb4e95536fd6276967868114e (diff)
downloadunit-a20830ff554a10094894e825ef9124c4a81745b6.tar.gz
unit-a20830ff554a10094894e825ef9124c4a81745b6.tar.bz2
Router: fixed race condition while access log reopening.
In order to reopen access log, the router process creates a memory pool and allocates a buffer to send RPC message for the main process. Previously, the memory pool was destroyed when RPC response handler was called. It appeared, that the buffer completion handler could be not triggered by that time and still remained in a queue. Now the memory pool is destroyed only after both events are happen.
Diffstat (limited to 'src/go/unit/request.go')
0 files changed, 0 insertions, 0 deletions