From c0d0364af1412700f00c2f342a41ab2a003f51a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 25 Sep 2026 16:09:57 +0800 Subject: [PATCH] Remove shared field defaults from MASQUE docs --- docs/configuration/endpoint/masque-client.md | 6 ------ docs/configuration/endpoint/masque-client.zh.md | 6 ------ docs/configuration/endpoint/masque-server.md | 2 -- docs/configuration/endpoint/masque-server.zh.md | 2 -- 4 files changed, 16 deletions(-) diff --git a/docs/configuration/endpoint/masque-client.md b/docs/configuration/endpoint/masque-client.md index 7d3bd10b4..49124071f 100644 --- a/docs/configuration/endpoint/masque-client.md +++ b/docs/configuration/endpoint/masque-client.md @@ -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. diff --git a/docs/configuration/endpoint/masque-client.zh.md b/docs/configuration/endpoint/masque-client.zh.md index ecaa879ba..985a70584 100644 --- a/docs/configuration/endpoint/masque-client.zh.md +++ b/docs/configuration/endpoint/masque-client.zh.md @@ -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/)。 diff --git a/docs/configuration/endpoint/masque-server.md b/docs/configuration/endpoint/masque-server.md index d00a36f52..28ec19ae3 100644 --- a/docs/configuration/endpoint/masque-server.md +++ b/docs/configuration/endpoint/masque-server.md @@ -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. diff --git a/docs/configuration/endpoint/masque-server.zh.md b/docs/configuration/endpoint/masque-server.zh.md index 16c19e851..e3f6effa3 100644 --- a/docs/configuration/endpoint/masque-server.zh.md +++ b/docs/configuration/endpoint/masque-server.zh.md @@ -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/)。