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

+3 -3
View File
@@ -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