fix: check doh permission

This commit is contained in:
James Houlahan
2020-05-25 15:16:34 +02:00
parent 40d8c458d2
commit ad877431de

View File

@ -25,6 +25,10 @@ func (d *ProxyTLSDialer) DialTLS(network, address string) (conn net.Conn, err er
return
}
if !d.cm.allowProxy {
return
}
var proxy string
if proxy, err = d.cm.switchToReachableServer(); err != nil {