mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-11-10 21:21:02 +08:00
Remove shared field defaults from MASQUE docs
This commit is contained in:
4 files changed
-16
No files matched your search
@@ -124,18 +124,12 @@ When `version` is `2`.
|
||||
|
||||
See [HTTP2 Fields](/configuration/shared/http2/) for details.
|
||||
|
||||
`keep_alive_period` is `10s` by default.
|
||||
|
||||
## QUIC Fields
|
||||
|
||||
When `version` is `3` (default).
|
||||
|
||||
See [QUIC Fields](/configuration/shared/quic/) for details.
|
||||
|
||||
`keep_alive_period` is `10s` by default.
|
||||
|
||||
`initial_packet_size` is `mtu + 51` by default, so that IP packets up to the tunnel MTU fit into a QUIC datagram. QUIC packets cannot exceed 1452 bytes; with a larger `mtu`, IP packets that do not fit are answered with ICMP Packet Too Big. If the path cannot carry packets of that size, the QUIC handshake fails and the client falls back to a lower HTTP version.
|
||||
|
||||
## UDP NAT Fields
|
||||
|
||||
See [UDP NAT Fields](/configuration/shared/udp-nat/) for details.
|
||||
|
||||
@@ -124,18 +124,12 @@ HTTP/3 需要 TLS。
|
||||
|
||||
参阅 [HTTP2 字段](/zh/configuration/shared/http2/)。
|
||||
|
||||
`keep_alive_period` 默认为 `10s`。
|
||||
|
||||
## QUIC 字段
|
||||
|
||||
当 `version` 为 `3`(默认)时。
|
||||
|
||||
参阅 [QUIC 字段](/zh/configuration/shared/quic/)。
|
||||
|
||||
`keep_alive_period` 默认为 `10s`。
|
||||
|
||||
`initial_packet_size` 默认为 `mtu + 51`,使不超过隧道 MTU 的 IP 数据包能放入一个 QUIC 数据报。QUIC 数据包最大为 1452 字节,`mtu` 更大时,放不下的 IP 数据包会收到 ICMP Packet Too Big 回复。如果路径无法传输这个大小的数据包,QUIC 握手会失败,客户端将回退到更低的 HTTP 版本。
|
||||
|
||||
## UDP NAT 字段
|
||||
|
||||
参阅 [UDP NAT 字段](/zh/configuration/shared/udp-nat/)。
|
||||
|
||||
@@ -119,8 +119,6 @@ When `version` contains `3` (default), [HTTP2 Fields](#http2-fields) are replace
|
||||
|
||||
See [QUIC Fields](/configuration/shared/quic/) for details.
|
||||
|
||||
`initial_packet_size` is `mtu + 51` by default, so that IP packets up to the tunnel MTU fit into a QUIC datagram. QUIC packets cannot exceed 1452 bytes; with a larger `mtu`, IP packets that do not fit are answered with ICMP Packet Too Big.
|
||||
|
||||
## UDP NAT Fields
|
||||
|
||||
See [UDP NAT Fields](/configuration/shared/udp-nat/) for details.
|
||||
@@ -119,8 +119,6 @@ IP 代理资源的 URI 模板路径,可以包含 `target` 和 `ipproto` 变量
|
||||
|
||||
参阅 [QUIC 字段](/zh/configuration/shared/quic/)。
|
||||
|
||||
`initial_packet_size` 默认为 `mtu + 51`,使不超过隧道 MTU 的 IP 数据包能放入一个 QUIC 数据报。QUIC 数据包最大为 1452 字节,`mtu` 更大时,放不下的 IP 数据包会收到 ICMP Packet Too Big 回复。
|
||||
|
||||
## UDP NAT 字段
|
||||
|
||||
参阅 [UDP NAT 字段](/zh/configuration/shared/udp-nat/)。
|
||||
Reference in new issue
Block a user