[OpenWrt-Devel] [PATCH] proc: cancel script killing only if process ends

Petr Štetiar ynezz at true.cz
Tue Feb 11 08:44:42 EST 2020


Santiago Piccinini <spiccinini at altermundi.net> [2019-10-10 18:35:53]:

Hi,

> Before this change if the cgi script hangs after writing headers
> then the process will never be killed. Let's only cancel the timeout
> if the process ends.

 < jow> well it is a change in behaviour
 < jow> the proper solution would be introducing a separate read timeout I guess. Thats how other servers handle it
 < jow> one timeout until the first content, then another body read timeout

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list