diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-07-01 16:23:51 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-07-01 16:23:51 +0300 |
commit | 2ac9c627aa6aa736f3df9f426e741642694ac911 (patch) | |
tree | fbf5ffc64065875c847f2e838246f7c59222757b /src/nxt_websocket.c | |
parent | 210c8bbd81a8836bffee221215effa00018868cd (diff) | |
download | unit-2ac9c627aa6aa736f3df9f426e741642694ac911.tar.gz unit-2ac9c627aa6aa736f3df9f426e741642694ac911.tar.bz2 |
Fixing memory and descriptor leakage in case of port send failure.
In rare cases, when the destination process had finished running but no
notification of this was received yet, send could fail with an error, and the
send message structure with file descriptors could leak.
The leakage was periodically reproduced by respawn tests on FreeBSD 12.
Diffstat (limited to 'src/nxt_websocket.c')
0 files changed, 0 insertions, 0 deletions