Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track go/issues/56539: net: add support for MPTCP #353

Open
komuw opened this issue Aug 9, 2023 · 2 comments
Open

track go/issues/56539: net: add support for MPTCP #353

komuw opened this issue Aug 9, 2023 · 2 comments

Comments

@komuw
Copy link
Owner

komuw commented Aug 9, 2023

In the issue, rsc said;

I am inclined to say that we add MPTCP as an opt-in for a release or two, and then make it opt-out. 
There should be a GODEBUG setting 

We should see if we can send a patch upstream to make it opt-out

@komuw
Copy link
Owner Author

komuw commented Aug 9, 2023

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.

@komuw
Copy link
Owner Author

komuw commented Feb 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant