CURLINFO_RETRY_AFTER: parse the Retry-After header value and offer it#4195
Closed
bagder wants to merge 4 commits into
Closed
CURLINFO_RETRY_AFTER: parse the Retry-After header value and offer it#4195bagder wants to merge 4 commits into
bagder wants to merge 4 commits into
Conversation
c3123e8 to
8bf8f0b
Compare
This is only the libcurl part that provides the information. There's no user of the parsed value. This change includes three new tests for the parser. Ref: #3794
... instead of CURLINFO_EFFECTIVE_URL to avoid string operations.
If a Retry-After: header was used in the response, that value overrides other retry timing options. Closes #3794
8bf8f0b to
9564c2d
Compare
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This patch series now contain the libcurl API change and it makes curl use it.
Ref: #3794