mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
all: allow verbose log when connecting to ControlD API
So troubleshooting will be easier in case of errors happened.
This commit is contained in:
committed by
Cuong Manh Le
parent
7444d8517a
commit
0631ffe831
@@ -226,7 +226,7 @@ func apiTransport(cdDev bool) *http.Transport {
|
||||
addrs[i] = net.JoinHostPort(ips[i], port)
|
||||
}
|
||||
d := &ctrldnet.ParallelDialer{}
|
||||
return d.DialContext(ctx, network, addrs)
|
||||
return d.DialContext(ctx, network, addrs, ctrld.ProxyLogger.Load())
|
||||
}
|
||||
if router.Name() == ddwrt.Name || runtime.GOOS == "android" {
|
||||
transport.TLSClientConfig = &tls.Config{RootCAs: certs.CACertPool()}
|
||||
|
||||
Reference in New Issue
Block a user