mirror of
https://github.com/nadoo/glider.git
synced 2025-04-22 04:02:07 +08:00
Update client.go
This commit is contained in:
parent
b7fd537de7
commit
085ba97a6a
@ -202,7 +202,7 @@ func (c *Client) exchange(qname string, reqBytes []byte, preferTCP bool) (
|
||||
server = newServer
|
||||
continue
|
||||
}
|
||||
//TODO: if we use DOH (network=="doh") we don't need close connection
|
||||
//TODO: if we use DOH (op=="doh") we don't need close connection
|
||||
if op!="doh"{
|
||||
defer rc.Close()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user