packages/net/cgi-io
Jo-Philipp Wich f57ca519ac cgi-io: close pipe descriptors early
In the command read side, close the superfluous write end of the pipe
early to ensure that EOF is reliably detected. Without that change, splice
calls to read from the pipe will occasionally hang until the CGI process
is eventually killed due to timeout.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit dde503da13)
2019-12-18 17:11:14 +01:00
..
src cgi-io: close pipe descriptors early 2019-12-18 17:11:14 +01:00
Makefile cgi-io: close pipe descriptors early 2019-12-18 17:11:14 +01:00