From 8681728b8df6252cec5e3afe91554f47a692ba82 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Mon, 2 May 2022 05:01:07 +0800 Subject: [PATCH] chore: doq parameters --- dns/doq.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dns/doq.go b/dns/doq.go index a0682745..8764ebab 100644 --- a/dns/doq.go +++ b/dns/doq.go @@ -138,6 +138,8 @@ func (dc *quicClient) openSession() (quic.Connection, error) { quicConfig := &quic.Config{ ConnectionIDLength: 12, HandshakeIdleTimeout: time.Second * 8, + MaxIncomingStreams: 4, + MaxIdleTimeout: time.Second * 45, } log.Debugln("opening session to %s", dc.addr)