Update transport (#371)
* Add tcpUserTimeout 90d915ea0505e7d5172abc8aeda5d5d039696cb3 * TCPMaxSeg https://github.com/XTLS/Xray-core/pull/2002 * fix * fixpull/372/head
							parent
							
								
									15a701665d
								
							
						
					
					
						commit
						e85d3d1f39
					
				|  | @ -488,6 +488,7 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认 | |||
| ```json | ||||
| { | ||||
|   "mark": 0, | ||||
|   "tcpMaxSeg": 1440, | ||||
|   "tcpFastOpen": false, | ||||
|   "tproxy": "off", | ||||
|   "domainStrategy": "AsIs", | ||||
|  | @ -495,6 +496,7 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认 | |||
|   "acceptProxyProtocol": false, | ||||
|   "tcpKeepAliveInterval": 0, | ||||
|   "tcpKeepAliveIdle": 300, | ||||
|   "tcpUserTimeout": 10000, | ||||
|   "tcpcongestion": "bbr", | ||||
|   "interface": "wg0" | ||||
| } | ||||
|  | @ -507,6 +509,10 @@ OCSP 装订更新,与证书热重载的时间间隔。 单位:秒。默认 | |||
| - 仅适用于 Linux 系统。 | ||||
| - 需要 CAP_NET_ADMIN 权限。 | ||||
| 
 | ||||
| > `tcpMaxSeg`: number | ||||
| 
 | ||||
| 用于设置 TCP 数据包的最大传输单元。 | ||||
| 
 | ||||
| > `tcpFastOpen`: true | false | number | ||||
| 
 | ||||
| 是否启用 [TCP Fast Open](https://zh.wikipedia.org/wiki/TCP%E5%BF%AB%E9%80%9F%E6%89%93%E5%BC%80)。 | ||||
|  | @ -630,6 +636,8 @@ TCP 空闲时间阈值,单位为秒。当 TCP 连接空闲时间达到这个 | |||
| 填负数时,如 `-1`,不启用 TCP 保持活跃。 | ||||
| ::: | ||||
| 
 | ||||
| > `tcpUserTimeout`: number | ||||
| 
 | ||||
| > `tcpcongestion`: "" | ||||
| 
 | ||||
| TCP 拥塞控制算法。仅支持 Linux。 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 tdjnodj
						tdjnodj