mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
|
---
|
||
|
c: Copyright (C) Dorian Craps, <dorian.craps@student.vinci.be>
|
||
|
SPDX-License-Identifier: curl
|
||
|
Long: mptcp
|
||
|
Added: 8.9.0
|
||
|
Help: Enable Multipath TCP
|
||
|
Category: connection
|
||
|
Multi: boolean
|
||
|
See-also:
|
||
|
- tcp-fastopen
|
||
|
Example:
|
||
|
- --mptcp $URL
|
||
|
---
|
||
|
|
||
|
# `--mptcp`
|
||
|
|
||
|
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 WiFi and
|
||
|
cellular data or in wired networks with multiple Internet Service Providers.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
To use MPTCP for your connections, add the `--mptcp` option when using `curl'.
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
This feature is currently only supported on Linux starting from kernel 5.6. Only
|
||
|
TCP connections are modified, hence this option does not effect HTTP/3 (QUIC)
|
||
|
connections.
|
||
|
|
||
|
The server you are connecting to must also support MPTCP. If not, the connection
|
||
|
seamlessly falls back to TCP.
|
||
|
|
||
|
## Availability
|
||
|
|
||
|
The `--mptcp` option is available starting from `curl` version 8.9.0.
|