|
|
@ -106,6 +106,8 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti
|
|
|
|
quicConfig := &quic.Config{
|
|
|
|
quicConfig := &quic.Config{
|
|
|
|
ConnectionIDLength: 12,
|
|
|
|
ConnectionIDLength: 12,
|
|
|
|
KeepAlivePeriod: 0,
|
|
|
|
KeepAlivePeriod: 0,
|
|
|
|
|
|
|
|
HandshakeIdleTimeout: time.Second * 8,
|
|
|
|
|
|
|
|
MaxIdleTimeout: time.Second * 300,
|
|
|
|
MaxIncomingStreams: 32,
|
|
|
|
MaxIncomingStreams: 32,
|
|
|
|
MaxIncomingUniStreams: -1,
|
|
|
|
MaxIncomingUniStreams: -1,
|
|
|
|
Tracer: qlog.NewTracer(func(_ logging.Perspective, connID []byte) io.WriteCloser {
|
|
|
|
Tracer: qlog.NewTracer(func(_ logging.Perspective, connID []byte) io.WriteCloser {
|
|
|
|