clarify message in godebug + add on supported system

This commit is contained in:
Aperence 2024-08-28 08:51:52 +02:00
parent a77f77be04
commit b7f9791860
No known key found for this signature in database
2 changed files with 10 additions and 4 deletions

View File

@ -158,9 +158,14 @@ For Go 1.24 it defaults to `randseednop=1`.
Using `randseednop=0` reverts to the pre-Go 1.24 behavior.
Go 1.24 added new values for the `multipathtcp` setting.
The values "2" and "3" allow to enable MPTCP only on listeners/
dialers respectively. For Go 1.24, it now defaults to multipathtcp=2:
enabled by default on listerners. Using multipathtcp=0 reverts to the
The possible values for `multipathtcp` are now:
- "0": disable MPTCP on dialers and listeners by default
- "1": enable MPTCP on dialers and listeners by default
- "2": enable MPTCP on listeners only by default
- "3": enable MPTCP on dialers only by default
For Go 1.24, it now defaults to multipathtcp="2", thus
enabled by default on listerners. Using multipathtcp="0" reverts to the
pre-Go 1.24 behavior.
### Go 1.23

View File

@ -1 +1,2 @@
[ListenConfig] now uses MPTCP by default.
[ListenConfig] now uses MPTCP by default on systems where it is supported
(Currently on Linux only).