Set QUIC keepalive again

main
Neil Alexander 2020-07-08 15:44:37 +01:00
parent 2bb580c1b0
commit 689c3df02d
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ func Setup(instanceName, storageDirectory string) (*Node, error) {
n.quicConfig = &quic.Config{ n.quicConfig = &quic.Config{
MaxIncomingStreams: 0, MaxIncomingStreams: 0,
MaxIncomingUniStreams: 0, MaxIncomingUniStreams: 0,
KeepAlive: false, KeepAlive: true,
MaxIdleTimeout: time.Second * 60, MaxIdleTimeout: time.Second * 60,
HandshakeTimeout: time.Second * 30, HandshakeTimeout: time.Second * 30,
} }