pkg/quic: set KeepAlive to true

Change-Id: I84e06219a265c82e634092c46731f75703915d48
This commit is contained in:
Yingrong Zhao 2021-04-06 19:57:37 -04:00 committed by Yingrong Zhao
parent ffc8aca8b0
commit 4330a4bc4b

View File

@ -28,6 +28,7 @@ func NewDefaultConnector(quicConfig *quic.Config) Connector {
if quicConfig == nil {
quicConfig = &quic.Config{
MaxIdleTimeout: 15 * time.Minute,
KeepAlive: true,
}
}
return Connector{