From 8df7b365351e7645c9b2bcf8f4ca67ba130a98d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=A1=E3=81=8B?= <88967758+chika0801@users.noreply.github.com> Date: Fri, 29 Dec 2023 15:24:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=20transport.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/config/transport.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/config/transport.md b/docs/config/transport.md index 342993e..40e31d8 100644 --- a/docs/config/transport.md +++ b/docs/config/transport.md @@ -76,18 +76,25 @@ "grpcSettings": {}, "sockopt": { "mark": 0, + "tcpMaxSeg": 1440, "tcpFastOpen": false, "tproxy": "off", "domainStrategy": "AsIs", "dialerProxy": "", "acceptProxyProtocol": false, "tcpKeepAliveInterval": 0, - "V6Only": false + "tcpKeepAliveIdle": 300, + "tcpUserTimeout": 10000, + "tcpcongestion": "bbr", + "interface": "wg0", + "V6Only": false, + "tcpMptcp": false, + "tcpNoDelay": false } } ``` -> `network`: "tcp" | "kcp" | "ws" | "http" | "domainsocket" | "quic" | "grpc" +> `network`: "tcp" | "kcp" | "ws" | "http" | "h2" | "quic" | "grpc" | "domainsocket" 连接的数据流所使用的传输方式类型,默认值为 `"tcp"` @@ -676,4 +683,4 @@ Xray-core v1.8.6 新增参数。
> `tcpNoDelay`: true | false -默认值 `false`,建议与 "tcpMptcp": true 一起启用。 +默认值 `false`,建议与 `"tcpMptcp": true` 一起启用。