cloudflared-mirror/edgediscovery
Sudarsan Reddy 12302ba1bf TUN-5973: Add backoff for non-recoverable errors as well
Errors that are non-recoverable can lead to one of two things happening:
1. That connection lying dead and cloudflared not retrying to make that
   connection.
2. cloudflared resolving to a different edge addr to retry connection.

We should subject these errors to a backoff as well. This will result in
us introducing a backoff for 1. When we are going to let the connection
become stale anyway and 2. When we are about to try a different edge
addr.
2022-04-01 15:58:51 +01:00
..
allregions TUN-5011: Use the region parameter in fallback SRV lookup 2021-08-31 22:16:21 -05:00
dial.go TUN-3462: Refactor cloudflared to separate origin from connection 2020-11-11 15:11:42 +00:00
edgediscovery.go TUN-5973: Add backoff for non-recoverable errors as well 2022-04-01 15:58:51 +01:00
edgediscovery_test.go TUN-4602: Added UDP resolves to Edge discovery 2021-08-09 18:41:43 +00:00
mocks_for_test.go TUN-3462: Refactor cloudflared to separate origin from connection 2020-11-11 15:11:42 +00:00
protocol.go TUN-5138: Switch to QUIC on auto protocol based on threshold 2021-10-14 09:18:20 +01:00
protocol_test.go TUN-5138: Switch to QUIC on auto protocol based on threshold 2021-10-14 09:18:20 +01:00