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:
nadoo committed 2017-07-31 13:42:11 +08:00
1 parent eb9e2fd4e5
commit 4219c4a7fa
11 files changed
+51 -40

No files matched your search

+2 -2
View File
@@ -14,8 +14,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