mirror of
https://github.com/nadoo/glider.git
synced 2026-11-23 23:49:41 +08:00
proxy chek: 1. improve check method: send a http get request and check the response, if the first 4 byte is "HTTP" then the proxy is avaliable. 2. if a proxy is disabled, increase the check duration. 3. update related docs.
This commit is contained in:
1 parent
eb9e2fd4e5
commit
4219c4a7fa
11 files changed
+51
-40
No files matched your search
+3
-3
@@ -62,7 +62,7 @@ listen=socks5://:1080
|
||||
#forward=socks5://192.168.1.10:1080
|
||||
|
||||
# SS proxy as forwarder
|
||||
# forward=ss://method:pass@1.1.1.1:443
|
||||
# forward=ss://method:pass@1.1.1.1:8443
|
||||
|
||||
# http proxy as forwarder
|
||||
# forward=http://1.1.1.1:8080
|
||||
@@ -89,8 +89,8 @@ strategy=rr
|
||||
|
||||
# Used to connect via forwarders, if the host is unreachable, the forwarder
|
||||
# will be set to disabled.
|
||||
# MUST BE A HTTP or HTTPS WEBSITE HOST ADDRESS
|
||||
checkwebsite=www.apple.com:443
|
||||
# MUST be a HTTP website server address, format: HOST[:PORT]. HTTPS NOT SUPPORTED.
|
||||
checkwebsite=www.apple.com
|
||||
|
||||
# check duration(seconds)
|
||||
checkduration=30
|
||||
|
||||
Reference in new issue
Block a user