We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da97a9c commit 40d23edCopy full SHA for 40d23ed
1 file changed
dnscrypt-proxy/xtransport.go
@@ -281,7 +281,7 @@ func (xTransport *XTransport) rebuildTransport() {
281
}
282
283
transport.TLSClientConfig = &tlsClientConfig
284
- if http2Transport, err := http2.ConfigureTransports(transport); err == nil {
+ if http2Transport, _ := http2.ConfigureTransports(transport); http2Transport == nil {
285
http2Transport.ReadIdleTimeout = timeout
286
http2Transport.AllowHTTP = false
287
0 commit comments