chore: support TFO for outbounds

This commit is contained in:
wwqgtxx
2023-02-24 13:53:44 +08:00
parent 75680c5866
commit 7d524668e0
12 changed files with 144 additions and 1 deletions

View File

@ -250,6 +250,7 @@ func NewTrojan(option TrojanOption) (*Trojan, error) {
addr: addr,
tp: C.Trojan,
udp: option.UDP,
tfo: option.TFO,
iface: option.Interface,
rmark: option.RoutingMark,
prefer: C.NewDNSPrefer(option.IPVersion),