-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Support retries of failed proxy requests #2414
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
Merged
aldas
merged 19 commits into
labstack:master
from
mikemherron:feature/proxy-failure-handling-2372
May 12, 2023
Merged
Changes from 14 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
adb1901
Draft proposal for supporting retries of failed proxy requests when b…
mikemherron 46e5bd5
Add retry count as first class feature, simplify callback, add tests
mikemherron 7c35cda
Minor comment tidy up
mikemherron 678da72
Rename retry handler to filter
mikemherron 675c19e
use named fields for structs
mikemherron 5989375
Remove function type for filter, don't use Default var for default
mikemherron c12daa7
Add error to RetryFilter, move BadGateway check to default implementa…
mikemherron 7299721
Add ErrorHandler to Proxy middleware
mikemherron df10d1c
Clear proxy error from context after balancer call so providers can c…
mikemherron f04fc6d
Update proxyRaw to store actual Errors in _error context key in all c…
mikemherron c3ad657
Fix linting errors
mikemherron c4232f7
Doc updates for Proxy retry features
mikemherron 1cc7aa1
Remove redundant test comments
mikemherron c6e358c
only clear proxy error key when we need to
mikemherron dbbaadd
Fix linting errors
mikemherron 179e74f
Add test covering proxy retries on timeout
mikemherron f3472cd
Proxy round robin balancer uses next target for retried requests
mikemherron 7c2cd96
Fix potential range error when round robin balancer targets changed.
mikemherron 5560254
Documented expected retry behaviour when RR balancer proxy targets ch…
mikemherron File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.