summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2018-02-05 11:04:25 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2018-02-05 11:06:25 +0800
commit770033dba3693c36a30022047a21a02264d9a5dd (patch)
treec6a05320481aba3b6a05309f8d3915ecf0f7f2c2
parent28aafed4720535edb1006c533ad7e39eddec9c68 (diff)
luci-app-shadowsocks-libev: remove deprecated option disable_sni
This reverts commit 5d916835752f83c53528cada375e3dd57c693483. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua4
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua2
2 files changed, 0 insertions, 6 deletions
diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
index 19f5ddc319..195a31f2fd 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
@@ -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
diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
index 67fd4330aa..af1a75b6f2 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
@@ -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