chore: doq parameters

This commit is contained in:
MetaCubeX 2022-05-02 05:01:07 +08:00
parent 45a02e3439
commit 8681728b8d

View file

@ -138,6 +138,8 @@ func (dc *quicClient) openSession() (quic.Connection, error) {
quicConfig := &quic.Config{ quicConfig := &quic.Config{
ConnectionIDLength: 12, ConnectionIDLength: 12,
HandshakeIdleTimeout: time.Second * 8, HandshakeIdleTimeout: time.Second * 8,
MaxIncomingStreams: 4,
MaxIdleTimeout: time.Second * 45,
} }
log.Debugln("opening session to %s", dc.addr) log.Debugln("opening session to %s", dc.addr)