Files
sing-box-extended-mirror/docs/configuration/outbound/urltest.zh.md
T

49 lines
762 B
Markdown
Raw Normal View History

2022-09-15 15:22:08 +08:00
### 结构
```json
{
"type": "urltest",
"tag": "auto",
"outbounds": [
"proxy-a",
"proxy-b",
"proxy-c"
],
2023-12-03 11:57:53 +08:00
"url": "",
"interval": "",
2023-09-15 00:07:07 +08:00
"tolerance": 50,
2023-12-03 11:57:53 +08:00
"idle_timeout": "",
2023-09-15 00:07:07 +08:00
"interrupt_exist_connections": false
2022-09-15 15:22:08 +08:00
}
```
### 字段
#### outbounds
==必填==
用于测试的出站标签列表。
#### url
2023-04-13 09:03:08 +08:00
用于测试的链接。默认使用 `https://www.gstatic.com/generate_204`。
2022-09-15 15:22:08 +08:00
#### interval
2023-12-03 11:57:53 +08:00
测试间隔。 默认使用 `3m`。
2022-09-15 15:22:08 +08:00
#### tolerance
以毫秒为单位的测试容差。 默认使用 `50`。
2023-09-15 00:07:07 +08:00
2023-12-03 11:57:53 +08:00
#### idle_timeout
空闲超时。默认使用 `30m`。
2023-09-15 00:07:07 +08:00
#### interrupt_exist_connections
当选定的出站发生更改时,中断现有连接。
仅入站连接受此设置影响,内部连接将始终被中断。