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 19f5ddc319961b240fed9c3c0bd38dc0148b4888..195a31f2fd6476c0399e077e93c9cbccde7d8cf2 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 67fd4330aa076876db73af7c2f315e12ebc00f7b..af1a75b6f2f760f836e621a9d8738b3202f2ce72 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