From 4055c467a18c9452d41b531ba09db3b4215d5ad3 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 11 Dec 2018 09:50:36 +0100 Subject: [PATCH] tweak quic server parameters --- transport/internet/quic/hub.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transport/internet/quic/hub.go b/transport/internet/quic/hub.go index 5e265ef2c..540a4743b 100644 --- a/transport/internet/quic/hub.go +++ b/transport/internet/quic/hub.go @@ -103,9 +103,9 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti quicConfig := &quic.Config{ ConnectionIDLength: 12, HandshakeTimeout: time.Second * 8, - IdleTimeout: time.Second * 30, - MaxIncomingStreams: 128, - MaxIncomingUniStreams: 32, + IdleTimeout: time.Second * 45, + MaxIncomingStreams: 32, + MaxIncomingUniStreams: -1, } conn, err := wrapSysConn(rawConn, config)