TUN-7394: Retry StartFirstTunnel on quic.ApplicationErrors

This PR adds ApplicationError as one of the "try_again" error types for
startfirstTunnel. This ensures that these kind of errors (which we've
seen occur when a tunnel gets rate-limited) are retried.
This commit is contained in:
Sudarsan Reddy 2023-04-26 12:58:01 +01:00
parent aec1d8f653
commit e8841c0fb3
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ func (s *Supervisor) startFirstTunnel(
}
case connection.DupConnRegisterTunnelError,
*quic.IdleTimeoutError,
*quic.ApplicationError,
edgediscovery.DialError,
*connection.EdgeQuicDialError:
// Try again for these types of errors