mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-07 18:19:27 +03:00
Update transport (#371)
* Add tcpUserTimeout 90d915ea0505e7d5172abc8aeda5d5d039696cb3 * TCPMaxSeg https://github.com/XTLS/Xray-core/pull/2002 * fix * fix
This commit is contained in:
parent
15a701665d
commit
e85d3d1f39
@ -488,6 +488,7 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"mark": 0,
|
"mark": 0,
|
||||||
|
"tcpMaxSeg": 1440,
|
||||||
"tcpFastOpen": false,
|
"tcpFastOpen": false,
|
||||||
"tproxy": "off",
|
"tproxy": "off",
|
||||||
"domainStrategy": "AsIs",
|
"domainStrategy": "AsIs",
|
||||||
@ -495,6 +496,7 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认
|
|||||||
"acceptProxyProtocol": false,
|
"acceptProxyProtocol": false,
|
||||||
"tcpKeepAliveInterval": 0,
|
"tcpKeepAliveInterval": 0,
|
||||||
"tcpKeepAliveIdle": 300,
|
"tcpKeepAliveIdle": 300,
|
||||||
|
"tcpUserTimeout": 10000,
|
||||||
"tcpcongestion": "bbr",
|
"tcpcongestion": "bbr",
|
||||||
"interface": "wg0"
|
"interface": "wg0"
|
||||||
}
|
}
|
||||||
@ -507,6 +509,10 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认
|
|||||||
- 仅适用于 Linux 系统。
|
- 仅适用于 Linux 系统。
|
||||||
- 需要 CAP_NET_ADMIN 权限。
|
- 需要 CAP_NET_ADMIN 权限。
|
||||||
|
|
||||||
|
> `tcpMaxSeg`: number
|
||||||
|
|
||||||
|
用于设置 TCP 数据包的最大传输单元。
|
||||||
|
|
||||||
> `tcpFastOpen`: true | false | number
|
> `tcpFastOpen`: true | false | number
|
||||||
|
|
||||||
是否启用 [TCP Fast Open](https://zh.wikipedia.org/wiki/TCP%E5%BF%AB%E9%80%9F%E6%89%93%E5%BC%80)。
|
是否启用 [TCP Fast Open](https://zh.wikipedia.org/wiki/TCP%E5%BF%AB%E9%80%9F%E6%89%93%E5%BC%80)。
|
||||||
@ -630,6 +636,8 @@ TCP 空闲时间阈值,单位为秒。当 TCP 连接空闲时间达到这个
|
|||||||
填负数时,如 `-1`,不启用 TCP 保持活跃。
|
填负数时,如 `-1`,不启用 TCP 保持活跃。
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
> `tcpUserTimeout`: number
|
||||||
|
|
||||||
> `tcpcongestion`: ""
|
> `tcpcongestion`: ""
|
||||||
|
|
||||||
TCP 拥塞控制算法。仅支持 Linux。
|
TCP 拥塞控制算法。仅支持 Linux。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user