diff options
| author | Anton Tolchanov <anton@tailscale.com> | 2026-04-14 13:27:06 +0100 |
|---|---|---|
| committer | Anton Tolchanov <1687799+knyar@users.noreply.github.com> | 2026-04-15 18:54:08 +0100 |
| commit | 958bcda5bff512876c5d11aa10af4b056ca62c4b (patch) | |
| tree | 2452db1428304adaea43543d380fb180f0c23e0d /control/controlhttp/controlhttpserver | |
| parent | d8190e0de56fd580d3330c0e789d1eee9eee34d4 (diff) | |
| download | tailscale-958bcda5bff512876c5d11aa10af4b056ca62c4b.tar.xz tailscale-958bcda5bff512876c5d11aa10af4b056ca62c4b.zip | |
control/controlclient: handle 429 responses during node registration
If we get a 429 response during node registration, use the `Retry-After`
header for backoff instead of the regular exponential backoff.
The rate limiter error is propagated to the user, just like other
registration errors are, e.g.
```
$ tailscale up
backend error: node registration rate limited; will retry after 57s
exit status 1
```
Updates tailscale/corp#39533
Signed-off-by: Anton Tolchanov <anton@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
