TUN-7468: Increase the limit of incoming streams
This commit is contained in:
		
							parent
							
								
									f124bddc18
								
							
						
					
					
						commit
						33d56be77c
					
				|  | @ -39,6 +39,9 @@ const ( | |||
| 	HandshakeIdleTimeout = 5 * time.Second | ||||
| 	MaxIdleTimeout       = 5 * time.Second | ||||
| 	MaxIdlePingPeriod    = 1 * time.Second | ||||
| 
 | ||||
| 	// MaxIncomingStreams is 2^60, which is the maximum supported value by Quic-Go
 | ||||
| 	MaxIncomingStreams = 1 << 60 | ||||
| ) | ||||
| 
 | ||||
| // RequestServerStream is a stream to serve requests
 | ||||
|  |  | |||
|  | @ -597,8 +597,8 @@ func (e *EdgeTunnelServer) serveQUIC( | |||
| 		HandshakeIdleTimeout:  quicpogs.HandshakeIdleTimeout, | ||||
| 		MaxIdleTimeout:        quicpogs.MaxIdleTimeout, | ||||
| 		KeepAlivePeriod:       quicpogs.MaxIdlePingPeriod, | ||||
| 		MaxIncomingStreams:    connection.MaxConcurrentStreams, | ||||
| 		MaxIncomingUniStreams: connection.MaxConcurrentStreams, | ||||
| 		MaxIncomingStreams:    quicpogs.MaxIncomingStreams, | ||||
| 		MaxIncomingUniStreams: quicpogs.MaxIncomingStreams, | ||||
| 		EnableDatagrams:       true, | ||||
| 		MaxDatagramFrameSize:  quicpogs.MaxDatagramFrameSize, | ||||
| 		Tracer:                quicpogs.NewClientTracer(connLogger.Logger(), connIndex), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue