Skip to content

Commit 3252862

Browse files
committed
doh: m debug logs
1 parent c580db9 commit 3252862

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

intra/doh/doh.go

+3
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@ func (t *transport) fetch(pid string, req *http.Request) (res *http.Response, er
304304
if err != nil {
305305
return
306306
}
307+
log.V("doh: using proxy %s:%s for %s", px.ID(), px.GetAddr(), req.URL)
308+
} else {
309+
log.V("doh: no proxy %s for %s", pid, req.URL)
307310
}
308311
return client.Do(req)
309312
}

0 commit comments

Comments
 (0)