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:
parent
aec1d8f653
commit
e8841c0fb3
|
@ -286,6 +286,7 @@ func (s *Supervisor) startFirstTunnel(
|
||||||
}
|
}
|
||||||
case connection.DupConnRegisterTunnelError,
|
case connection.DupConnRegisterTunnelError,
|
||||||
*quic.IdleTimeoutError,
|
*quic.IdleTimeoutError,
|
||||||
|
*quic.ApplicationError,
|
||||||
edgediscovery.DialError,
|
edgediscovery.DialError,
|
||||||
*connection.EdgeQuicDialError:
|
*connection.EdgeQuicDialError:
|
||||||
// Try again for these types of errors
|
// Try again for these types of errors
|
||||||
|
|
Loading…
Reference in New Issue