This commit is contained in:
WeidiDeng 2024-06-08 00:26:15 +08:00 committed by GitHub
commit 333aaf4f30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,7 +256,7 @@ func NewHTTP2Client(dialFn DialFn, tlsConfig *tls.Config, Fingerprint string, re
TLSClientConfig: tlsConfig, TLSClientConfig: tlsConfig,
AllowHTTP: false, AllowHTTP: false,
DisableCompression: true, DisableCompression: true,
PingTimeout: 0, ReadIdleTimeout: 15 * time.Second,
} }
return &wrap return &wrap