Open komuw opened 10 months ago
The Go v1.21 release notes say;
On Linux, the net package can now use Multipath TCP
when the kernel supports it. It is not used by default.
To use Multipath TCP when available on a client, call the `Dialer.SetMultipathTCP` method before calling
the `Dialer.Dial` or `Dialer.DialContext` methods.
To use Multipath TCP when available on a server, call the `ListenConfig.SetMultipathTCP` method
before calling the `ListenConfig.Listen` method.
Specify the network as "tcp" or "tcp4" or "tcp6" as usual.
PR upstream; https://go-review.googlesource.com/c/go/+/563575
That PR is blocked on https://github.com/multipath-tcp/mptcp_net-next/issues/383
In the issue,
rsc
said;We should see if we can send a patch upstream to make it opt-out