mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-19 16:30:07 +08:00
grpc支持健康检查
This commit is contained in:
parent
9bd70e1366
commit
3051f013f2
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user