diff options
author | Max Romanov <max.romanov@nginx.com> | 2018-09-20 16:16:32 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2018-09-20 16:16:32 +0300 |
commit | 9fe6e75d355266024f67a5611120c3c97557be14 (patch) | |
tree | 78a854a884b384c6d83f7d60394e342f1cf9339e /src/perl | |
parent | fea05e30653a4c660d538cc6915494d7145ad969 (diff) | |
download | unit-9fe6e75d355266024f67a5611120c3c97557be14.tar.gz unit-9fe6e75d355266024f67a5611120c3c97557be14.tar.bz2 |
Preventing port from release in asynchronous operations.
Router reconfiguration may lead to starting new application processes, opening
listen ports etc. These actions are asynchronous and require message
exchange with master process. Router stores reference for controller
(response) port in structure associated with reconfiguration process (tmcf).
The port used to provide reconfiguration response (either success or failed)
to controller.
This commit increases response port use counter to make sure port structure
not freed while router waits for result of asynchronous operations.
Diffstat (limited to 'src/perl')
0 files changed, 0 insertions, 0 deletions