Initial zh-CN document translation: shared
This commit is contained in:
50
docs/configuration/shared/multiplex.zh.md
Normal file
50
docs/configuration/shared/multiplex.zh.md
Normal file
@@ -0,0 +1,50 @@
|
||||
### 服务器要求
|
||||
|
||||
`sing-box` :)
|
||||
|
||||
### 结构
|
||||
|
||||
```json
|
||||
{
|
||||
"enabled": true,
|
||||
"protocol": "smux",
|
||||
"max_connections": 4,
|
||||
"min_streams": 4,
|
||||
"max_streams": 0
|
||||
}
|
||||
```
|
||||
|
||||
### 字段
|
||||
|
||||
#### enabled
|
||||
|
||||
启用多路复用
|
||||
|
||||
#### protocol
|
||||
|
||||
多路复用协议
|
||||
|
||||
| 协议 | 描述 |
|
||||
|-------|------------------------------------|
|
||||
| smux | https://github.com/xtaci/smux |
|
||||
| yamux | https://github.com/hashicorp/yamux |
|
||||
|
||||
默认使用 SMux.
|
||||
|
||||
#### max_connections
|
||||
|
||||
最大连接数量
|
||||
|
||||
与 `max_streams` 冲突.
|
||||
|
||||
#### min_streams
|
||||
|
||||
在打开新连接之前,连接中的最小多路复用流数量
|
||||
|
||||
与 `max_streams` 冲突.
|
||||
|
||||
#### max_streams
|
||||
|
||||
在打开新连接之前,连接中的最大多路复用流数量
|
||||
|
||||
与 `max_connections` 和 `min_streams` 冲突.
|
||||
Reference in New Issue
Block a user