This commit is contained in:
WeidiDeng 2024-11-14 22:19:25 +08:00 committed by GitHub
commit 4a54f1c395
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