luci-app-shadowsocks-libev: remove deprecated option disable_sni
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 5 Feb 2018 03:04:25 +0000 (11:04 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 5 Feb 2018 03:06:25 +0000 (11:06 +0800)
This reverts commit 5d916835752f83c53528cada375e3dd57c693483.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua

index 19f5ddc..195a31f 100644 (file)
@@ -41,10 +41,6 @@ else
                        translate("Tunnel address"),
                        translate("The address ss-tunnel will forward traffic to"))
                o.datatype = "hostport"
-       elseif stype == "ss_redir" then
-               o = s:taboption("advanced", Flag, "disable_sni",
-                       translate("Disable SNI"),
-                       translate("Disable parsing HTTP/HTTPS payload to find then resolve hostname at remote server"))
        end
 end
 
index 67fd433..af1a75b 100644 (file)
@@ -144,8 +144,6 @@ function cfgvalue_overview(sdata)
                cfgvalue_overview_(sdata, lines, names_options_client)
                if stype == "ss_tunnel" then
                        cfgvalue_overview_(sdata, lines, {"tunnel_address"})
-               elseif stype == "ss_redir" then
-                       cfgvalue_overview_(sdata, lines, {"disable_sni"})
                end
                cfgvalue_overview_(sdata, lines, names_options_common)
        else