mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-27 19:53:18 +03:00
XHTTP: Add keepAlivePeriod
This commit is contained in:
parent
40876a4f60
commit
13ece0aca6
@ -29,6 +29,7 @@ The `XHttpObject` 对应传输配置的 `xhttpSettings` 项。
|
|||||||
"scMinPostsIntervalMs": 30,
|
"scMinPostsIntervalMs": 30,
|
||||||
"noSSEHeader": false,
|
"noSSEHeader": false,
|
||||||
"xPaddingBytes": "100-1000",
|
"xPaddingBytes": "100-1000",
|
||||||
|
"keepAlivePeriod": 45,
|
||||||
"xmux": {
|
"xmux": {
|
||||||
"maxConcurrency": 0,
|
"maxConcurrency": 0,
|
||||||
"maxConnections": 0,
|
"maxConnections": 0,
|
||||||
@ -113,6 +114,14 @@ XHTTP 的HTTP请求中所发送的host,默认值为空。若服务端值为空
|
|||||||
|
|
||||||
设置为 `-1` 将完全禁用填充
|
设置为 `-1` 将完全禁用填充
|
||||||
|
|
||||||
|
> `keepAlivePeriod` int
|
||||||
|
|
||||||
|
发送保活请求的时间间隔,单位秒。
|
||||||
|
|
||||||
|
当使用 H2 和 H3 时分别对应 h2 ping 帧和 QUIC ping 帧。
|
||||||
|
|
||||||
|
默认值为:使用 H2 时 45 秒(Chrome 默认值), 使用 H3 时 10 秒(quic-go 默认值)
|
||||||
|
|
||||||
> `xmux`: [XmuxObject](#xmuxobject)
|
> `xmux`: [XmuxObject](#xmuxobject)
|
||||||
|
|
||||||
## XmuxObject
|
## XmuxObject
|
||||||
|
Loading…
x
Reference in New Issue
Block a user