pkg/quic: set KeepAlive to true
Change-Id: I84e06219a265c82e634092c46731f75703915d48
This commit is contained in:
parent
ffc8aca8b0
commit
4330a4bc4b
@ -28,6 +28,7 @@ func NewDefaultConnector(quicConfig *quic.Config) Connector {
|
|||||||
if quicConfig == nil {
|
if quicConfig == nil {
|
||||||
quicConfig = &quic.Config{
|
quicConfig = &quic.Config{
|
||||||
MaxIdleTimeout: 15 * time.Minute,
|
MaxIdleTimeout: 15 * time.Minute,
|
||||||
|
KeepAlive: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Connector{
|
return Connector{
|
||||||
|
Loading…
Reference in New Issue
Block a user