mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ci: added freebsd version
This commit is contained in:
1 parent
2d16870803
commit
2a7eed7667
11 files changed
+34
-25
No files matched your search
+1
-1
@@ -150,7 +150,7 @@ func (c *Client) exchange(qname string, reqBytes []byte, preferTCP bool) (
|
||||
network = "tcp"
|
||||
dialer := c.proxy.NextDialer(qname + ":53")
|
||||
|
||||
// if we are resolving the dialer's domain, then use Direct to avoid denpency loop
|
||||
// if we are resolving the dialer's domain, then use Direct to avoid dependency loop
|
||||
// TODO: dialer.Addr() == "REJECT", tricky
|
||||
if strings.Contains(dialer.Addr(), qname) || dialer.Addr() == "REJECT" {
|
||||
dialer = proxy.Default
|
||||
|
||||
Reference in new issue
Block a user