summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_time.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-08-11 21:48:16 +0300
committerMax Romanov <max.romanov@nginx.com>2020-08-11 21:48:16 +0300
commitacb0cca49def92563d9b221d818b541b60e30eaa (patch)
tree602022eab972be03bc2f42797f7f9f95f9be55c9 /src/nxt_time.h
parent8cf522bf2d8c2d3bcef88ab86c93e06c6afcb6ae (diff)
downloadunit-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 'src/nxt_time.h')
0 files changed, 0 insertions, 0 deletions