Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v10] Add timeout to auth http requests #14093

Merged
merged 8 commits into from
Jul 6, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport #13976 to branch/v10

Sets the `Timeout` of the http.Client  used by the auth client
to 30s to prevent requests from blocking indefinitely. There
have been several failure scenarios that result in teleport being
completely stuck due to never receiving a response from an
http request. The 30s upper bound should prevent this, while
also being long enough that it shouldn't impact any requests
which may be slow.
@github-actions github-actions bot requested review from nklaassen, r0mant and xacrimon July 5, 2022 12:52
@zmb3 zmb3 removed the request for review from xacrimon July 5, 2022 13:59
@rosstimothy rosstimothy merged commit 7a34ea3 into branch/v10 Jul 6, 2022
@rosstimothy rosstimothy deleted the bot/backport-13976-branch/v10 branch July 6, 2022 21:21
@webvictim webvictim mentioned this pull request Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants