trojan: support tcp_fast_open setting (#3023)

* trojan: support tcp_fast_open setting

* trojan: remove unused mux setting
This commit is contained in:
Max Zhao 2020-02-10 15:39:20 +08:00 committed by GitHub
parent 7b40d5b0ff
commit 751200be5c

View File

@ -350,7 +350,6 @@ o = s:option(Flag, "mux", translate("Mux"))
o.rmempty = true
o.default = "0"
o:depends("type", "v2ray")
o:depends("type", "trojan")
o = s:option(Value, "concurrency", translate("Concurrency"))
o.datatype = "uinteger"
@ -363,6 +362,7 @@ o.rmempty = true
o.default = "0"
o:depends("type", "ssr")
o:depends("type", "ss")
o:depends("type", "trojan")
o = s:option(Flag, "switch_enable", translate("Enable Auto Switch"))
o.rmempty = false