diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-01-25 13:13:17 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-01-25 13:13:17 +0300 |
commit | 9b76505bf7fe7954ebd66e23fc29dab2e6b02e47 (patch) | |
tree | 3daad4fb29c37088deffaefb9889e94fc05504c2 /pkg/rpm | |
parent | 6e28263d6531c9461a3a1d49a98bf8d33898c599 (diff) | |
download | unit-9b76505bf7fe7954ebd66e23fc29dab2e6b02e47.tar.gz unit-9b76505bf7fe7954ebd66e23fc29dab2e6b02e47.tar.bz2 |
Router: fixing assertion in shortage of file descriptors.
Each application in router process required fd for a request queue shared
memory. When the number of file descripts close to the limit, and port sockets
successfully opened, router needs to properly handle the errors.
This patch closes port sockets before destroying port structure to avoid
file descriptors leakage and assertion in debug build.
Diffstat (limited to 'pkg/rpm')
0 files changed, 0 insertions, 0 deletions