luci-app-shadowsocks-libev: support option no_delay
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 4 Jan 2018 06:45:53 +0000 (14:45 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 4 Jan 2018 06:46:30 +0000 (14:46 +0800)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua

index c0e943574dabcdac9315258605a50840aaca3759..77efe047b489417447645f395d0efe74a521f41a 100644 (file)
@@ -122,6 +122,7 @@ function options_common(s, tab)
        s:taboption(tab, Flag, "verbose", translate("Verbose"))
        s:taboption(tab, Flag, "ipv6_first", translate("IPv6 First"), translate("Prefer IPv6 addresses when resolving names"))
        s:taboption(tab, Flag, "fast_open", translate("Enable TCP Fast Open"))
+       s:taboption(tab, Flag, "no_delay", translate("Enable TCP_NODELAY"))
        s:taboption(tab, Flag, "reuse_port", translate("Enable SO_REUSEPORT"))
 end