Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da97a9c commit 40d23edCopy full SHA for 40d23ed
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