mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-14 04:19:36 +03:00
Changed quic MaxIdleTimeout from 30s to 5min & HandshakeIdleTimeout to 8s
This commit is contained in:
@ -142,6 +142,8 @@ func (s *clientConnections) openConnection(ctx context.Context, destAddr net.Add
|
||||
quicConfig := &quic.Config{
|
||||
ConnectionIDLength: 12,
|
||||
KeepAlivePeriod: 0,
|
||||
HandshakeIdleTimeout: time.Second * 8,
|
||||
MaxIdleTimeout: time.Second * 300,
|
||||
Tracer: qlog.NewTracer(func(_ logging.Perspective, connID []byte) io.WriteCloser {
|
||||
return &QlogWriter{connID: connID}
|
||||
}),
|
||||
|
Reference in New Issue
Block a user