2022-09-15 07:22:08 +00:00
|
|
|
### Structure
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"type": "urltest",
|
|
|
|
"tag": "auto",
|
|
|
|
|
|
|
|
"outbounds": [
|
|
|
|
"proxy-a",
|
|
|
|
"proxy-b",
|
|
|
|
"proxy-c"
|
|
|
|
],
|
2023-12-03 03:57:53 +00:00
|
|
|
"url": "",
|
|
|
|
"interval": "",
|
|
|
|
"tolerance": 0,
|
|
|
|
"idle_timeout": "",
|
2023-09-14 16:07:07 +00:00
|
|
|
"interrupt_exist_connections": false
|
2022-09-15 07:22:08 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Fields
|
|
|
|
|
|
|
|
#### outbounds
|
|
|
|
|
|
|
|
==Required==
|
|
|
|
|
|
|
|
List of outbound tags to test.
|
|
|
|
|
|
|
|
#### url
|
|
|
|
|
2023-04-13 01:03:08 +00:00
|
|
|
The URL to test. `https://www.gstatic.com/generate_204` will be used if empty.
|
2022-09-15 07:22:08 +00:00
|
|
|
|
|
|
|
#### interval
|
|
|
|
|
2023-12-03 03:57:53 +00:00
|
|
|
The test interval. `3m` will be used if empty.
|
2022-09-15 07:22:08 +00:00
|
|
|
|
|
|
|
#### tolerance
|
|
|
|
|
|
|
|
The test tolerance in milliseconds. `50` will be used if empty.
|
2023-09-14 16:07:07 +00:00
|
|
|
|
2023-12-03 03:57:53 +00:00
|
|
|
#### idle_timeout
|
|
|
|
|
|
|
|
The idle timeout. `30m` will be used if empty.
|
|
|
|
|
2023-09-14 16:07:07 +00:00
|
|
|
#### interrupt_exist_connections
|
|
|
|
|
|
|
|
Interrupt existing connections when the selected outbound has changed.
|
|
|
|
|
|
|
|
Only inbound connections are affected by this setting, internal connections will always be interrupted.
|