c | SPDX-License-Identifier | Long | Added | Help | Category | Multi | See-also | Example | ||
---|---|---|---|---|---|---|---|---|---|---|
Copyright (C) Dorian Craps, <dorian.craps@student.vinci.be> |
curl |
mptcp |
8.7.0 |
Enable Multipath TCP (MPTCP) |
connection |
boolean |
|
|
Enables the use of Multipath TCP (MPTCP) for connections. MPTCP is an extension to the standard TCP that allows multiple TCP streams over different network paths between the same source and destination. This can enhance bandwidth and improve reliability by using multiple paths simultaneously.
MPTCP is beneficial in networks where multiple paths exist between clients and servers, such as mobile networks where a device may switch between Wi-Fi and cellular data or in wired networks with multiple ISPs.
To use MPTCP for your connections, add the --mptcp
option when using curl
:
- This feature is currently only supported on Linux starting from kernel 5.6.
- The server you are connecting to must also support MPTCP. If not, the connection will fallback to TCP.
The --mptcp
option is available starting from curl
version 8.7.0.