diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-01-17 21:15:47 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-01-17 21:15:47 +0100 |
commit | 08916f4335e96e4a3c9dcf77262fa151348ed93c (patch) | |
tree | a310d1b0b43f6d60ce39e7697a8a0127d35c0956 /applications/luci-app-ahcp/luasrc | |
parent | a441721d32d06d18368bf236ad127ffccad0bef8 (diff) |
luci-app-nlbw: fix sporadic premature EOF when rendering JSON data
Specific timing patterns sometimes caused the LuCI controller to prematurely
stop reading data, resulting in truncated JSON output.
Turn the nonblocking waitpid() call into a blocking call after the IO read
loop to avoid this issue.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-ahcp/luasrc')
0 files changed, 0 insertions, 0 deletions