Continue, don't return

This commit is contained in:
Frank Denis 2021-06-07 13:44:08 +02:00
parent a181a23263
commit 9e96bbc20b
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ func _fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, i
if _, _, _, _, err := proxy.xTransport.DoHQuery(useGet, url, odohQuery.odohMessage, proxy.timeout); err != nil {
useGet = true
if _, _, _, _, err := proxy.xTransport.DoHQuery(useGet, url, odohQuery.odohMessage, proxy.timeout); err != nil {
return ServerInfo{}, err
continue
}
dlog.Debugf("Server [%s] doesn't appear to support POST; falling back to GET requests", name)
}