diff options
| author | David Lönnhager <david.l@mullvad.net> | 2022-11-15 15:39:55 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2022-11-16 14:07:07 +0100 |
| commit | 025baebce9fc34ed5e6727f53bbacfea50066d8c (patch) | |
| tree | a54e4215af09fa817b55197b3e8fbd14f682e8df /talpid-core/src | |
| parent | 6771944b843218d6d25d495d7c60689a095e246c (diff) | |
| download | mullvadvpn-025baebce9fc34ed5e6727f53bbacfea50066d8c.tar.xz mullvadvpn-025baebce9fc34ed5e6727f53bbacfea50066d8c.zip | |
Retry on obfuscation errors
Diffstat (limited to 'talpid-core/src')
| -rw-r--r-- | talpid-core/src/tunnel_state_machine/connecting_state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/talpid-core/src/tunnel_state_machine/connecting_state.rs b/talpid-core/src/tunnel_state_machine/connecting_state.rs index cdf9029b81..ad91cb184a 100644 --- a/talpid-core/src/tunnel_state_machine/connecting_state.rs +++ b/talpid-core/src/tunnel_state_machine/connecting_state.rs @@ -482,6 +482,8 @@ fn should_retry(error: &tunnel::Error, retry_attempt: u32) -> bool { match error { tunnel::Error::WireguardTunnelMonitoringError(Error::CreateObfuscatorError(_)) => true, + tunnel::Error::WireguardTunnelMonitoringError(Error::ObfuscatorError(_)) => true, + tunnel::Error::WireguardTunnelMonitoringError(Error::PskNegotiationError( talpid_tunnel_config_client::Error::GrpcConnectError(_), )) => true, |
