We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97a983c commit 8fc0ffcCopy full SHA for 8fc0ffc
1 file changed
dnscrypt-proxy/xtransport.go
@@ -203,7 +203,10 @@ func (xTransport *XTransport) rebuildTransport() {
203
}
204
205
transport.TLSClientConfig = &tlsClientConfig
206
- http2.ConfigureTransport(transport)
+ if http2Transport, err := http2.ConfigureTransports(transport); err != nil {
207
+ http2Transport.ReadIdleTimeout = timeout
208
+ http2Transport.AllowHTTP = false
209
+ }
210
xTransport.transport = transport
211
212
0 commit comments