feat: add inbound-mptcp for listeners

This commit is contained in:
wwqgtxx
2023-08-09 17:09:03 +08:00
parent cc42d787d4
commit 984fca4726
5 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,11 @@
//go:build go1.21
package inbound
import "net"
const multipathTCPAvailable = true
func setMultiPathTCP(listenConfig *net.ListenConfig, open bool) {
listenConfig.SetMultipathTCP(open)
}