]> Cypherpunks repositories - gostls13.git/commit
net: add mptcpStatus type
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Mon, 20 Mar 2023 09:35:51 +0000 (10:35 +0100)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Fri, 24 Mar 2023 10:41:21 +0000 (10:41 +0000)
commite4abe90bf8bee451971c4b23d4418a9fc021c4a8
treebf1777a05355aa2390da193e6fffdafe8b2e78e1
parent7ec2e8442415bd7d15819cf2aeba3a678223c81c
net: add mptcpStatus type

This new type will be used in the following commits.

The goal is to have a tristate, an enum with three values:

- system default (0)
- enabled
- disabled

The system default value is linked to defaultMPTCPEnabled: disabled by
default for the moment. Users will be able to force enabling/disabling
MPTCP or use the default behaviour.

This work has been co-developped by Gregory Detal
<gregory.detal@tessares.net>.

Updates #56539

Change-Id: I8fa0cad7a18ca967508799fc828ef060b27683d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/477735
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/net/dial.go