This commit is contained in:
Fangliding
2026-10-30 20:31:13 +08:00
parent 0fdb276fb7
commit 4d08386da3
+1 -3
View File
@@ -110,9 +110,7 @@ func (dl *DefaultListener) Listen(ctx context.Context, addr net.Addr, sockopt *S
lc.KeepAliveConfig.Enable = true
lc.KeepAliveConfig.Interval = time.Duration(sockopt.TcpKeepAliveInterval) * time.Second
}
if sockopt.TcpMptcp {
lc.SetMultipathTCP(true)
}
lc.SetMultipathTCP(sockopt.TcpMptcp)
}
case *net.UnixAddr:
lc.Control = nil