diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-08-11 21:48:16 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-08-11 21:48:16 +0300 |
commit | acb0cca49def92563d9b221d818b541b60e30eaa (patch) | |
tree | 602022eab972be03bc2f42797f7f9f95f9be55c9 /NOTICE | |
parent | 8cf522bf2d8c2d3bcef88ab86c93e06c6afcb6ae (diff) | |
download | unit-acb0cca49def92563d9b221d818b541b60e30eaa.tar.gz unit-acb0cca49def92563d9b221d818b541b60e30eaa.tar.bz2 |
Moving file descriptor blocking to libunit.
The default libunit behavior relies on blocking the recv() call for port file
descriptors, which an application may override if needed. For external
applications, port file descriptors were toggled to blocking mode before the
exec() call. If the exec() call failed, descriptor remained blocked, so the
process hanged while trying to read from it.
This patch moves file descriptor mode switch inside libunit.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions