mihomo/adapter/inbound/mptcp_go121.go
wwqgtxx 27bcb26ecd
Some checks are pending
Trigger CMFA Update / trigger-CMFA-update (push) Waiting to run
chore: better config internal structure
2024-08-24 20:49:12 +08:00

16 lines
289 B
Go

//go:build go1.21
package inbound
import "net"
const multipathTCPAvailable = true
func setMultiPathTCP(listenConfig *net.ListenConfig, open bool) {
listenConfig.SetMultipathTCP(open)
}
func getMultiPathTCP(listenConfig *net.ListenConfig) bool {
return listenConfig.MultipathTCP()
}