The official NGINX Open Source repository.
Go to file
Aperence f33492028e
HTTP: added MPTCP support.
Multipath TCP (MPTCP), standardized in RFC8684 [1], is a TCP extension
that enables a TCP connection to use different paths.

Multipath TCP has been used for several use cases. On smartphones, MPTCP
enables seamless handovers between cellular and Wi-Fi networks while
preserving Established connections. This use-case is what pushed Apple
to use MPTCP since 2013 in multiple applications [2]. On dual-stack
hosts, Multipath TCP enables the TCP connection to automatically use the
best performing path, either IPv4 or IPv6. If one path fails, MPTCP
automatically uses the other path.

The benefit from MPTCP, both the client and the server have to support
it. Multipath TCP is a backward-compatible TCP extension that is enabled
by default on recent Linux distributions (Debian, Ubuntu, Redhat, ...).
Multipath TCP is included in the Linux kernel since version 5.6 [3].
To use it on Linux, an application must explicitly enable it when
creating the socket. No need to change anything else in the application.

Even if MPTCP is supported by different OS, only Linux supports the
`IPPROTO_MPTCP` protocol, which is why this feature is currently
limited to Linux only.

This patch adds a new parameter 'multipath' to the 'listen' directive
in the HTTP module. This new parameter is only compatible with TCP if
IPPROTO_MPTCP is defined, not with QUIC so far.

Co-authored-by: Maxime Dourov <mux99@live.be>

Link: https://www.rfc-editor.org/rfc/rfc8684.html [1]
Link: https://www.tessares.net/apples-mptcp-story-so-far/ [2]
Link: https://www.mptcp.dev [3]
2024-09-06 20:42:51 +02:00
.github Added CI based on GitHub Actions. 2024-09-04 20:01:47 +04:00
auto Configure: fixed building libatomic test. 2024-05-16 11:15:10 +02:00
conf Fixed a typo in win-utf. 2024-09-06 15:35:59 +04:00
contrib HTTP: added MPTCP support. 2024-09-06 20:42:51 +02:00
docs Moved LICENSE and README to root. 2024-08-30 18:06:39 +04:00
misc Moved LICENSE and README to root. 2024-08-30 18:06:39 +04:00
src HTTP: added MPTCP support. 2024-09-06 20:42:51 +02:00
CODE_OF_CONDUCT.md Added Code of Conduct. 2024-09-02 17:33:50 +04:00
CONTRIBUTING.md Added contributing guidelines. 2024-09-03 16:28:45 +04:00
LICENSE Removed C-style comments from LICENSE. 2024-08-30 18:06:39 +04:00
README Moved LICENSE and README to root. 2024-08-30 18:06:39 +04:00
SECURITY.md Added security policy. 2024-09-02 20:10:28 +04:00

Documentation is available at http://nginx.org