mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
The diagnostics page is using `fs.exec()` to execute command, which blocks until command exit. Users have to wait for a while to see the result. When doing IPv6 traceroute, this may cause XHR timeout, if target host is unreachable. (See issue #7210) This commit uses new `responseProgress` callback and `stderr` option added in luci.js and fs.js to update command output. Signed-off-by: Richard Yu <yurichard3839@gmail.com> Link: https://github.com/openwrt/luci/pull/7920