mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: optimize
This commit is contained in:
parent
68c856e2fc
commit
25221177c9
@ -229,12 +229,9 @@ check_domain_bypass()
|
||||
local pid strategy tests='fake' ttls s sec="$2" found
|
||||
|
||||
[ "$sec" = 0 ] && {
|
||||
s="--hostcase"
|
||||
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}"
|
||||
s="--hostnospace"
|
||||
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}"
|
||||
s="--domcase"
|
||||
for s in '--hostcase' '--hostnospace' '--domcase'; do
|
||||
nfqws_curl_test $1 $3 $s && strategy="${strategy:-$s}"
|
||||
done
|
||||
}
|
||||
|
||||
s="--dpi-desync=split2"
|
||||
|
Loading…
Reference in New Issue
Block a user