Skip to content

Commit

Permalink
Continue, don't return
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jun 7, 2021
1 parent a181a23 commit 9e96bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnscrypt-proxy/serversInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 9e96bbc

Please sign in to comment.