upd to 0.9.3, removed jedist1/xsecretbox from dependencies

This commit is contained in:
Andrey Meshkov
2018-12-25 01:59:38 +03:00
parent 3ade62301b
commit cc96593ebf
5 changed files with 12 additions and 10 deletions

View File

@@ -206,7 +206,7 @@ func handleTestUpstreamDNS(w http.ResponseWriter, r *http.Request) {
func checkDNS(input string) error {
log.Printf("Checking if DNS %s works...", input)
u, err := upstream.AddressToUpstream(input, "")
u, err := upstream.AddressToUpstream(input, "", dnsforward.DefaultTimeout)
if err != nil {
return fmt.Errorf("Failed to choose upstream for %s: %s", input, err)
}