feat: add mptcp for all proxy

This commit is contained in:
wwqgtxx
2023-08-09 16:57:39 +08:00
parent e2e0fd4eba
commit cc42d787d4
13 changed files with 49 additions and 0 deletions

View File

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