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

@ -170,6 +170,7 @@ func NewHttp(option HttpOption) (*Http, error) {
name: option.Name,
addr: net.JoinHostPort(option.Server, strconv.Itoa(option.Port)),
tp: C.Http,
tfo: option.TFO,
iface: option.Interface,
rmark: option.RoutingMark,
prefer: C.NewDNSPrefer(option.IPVersion),