mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 13:47:39 +03:00
coldstart experiment
This commit is contained in:
parent
1c52451025
commit
210ba8c60f
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ import (
|
|||
)
|
||||
|
||||
func NetProbe(address string, timeout int) error {
|
||||
cancelChannels := ColdStart([]string{"0.0.0.0:53"})
|
||||
defer ColdStartStop(cancelChannels)
|
||||
if len(address) <= 0 || timeout == 0 {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue