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

make --retry option identical the one in curl #1475

Closed
fabricereix opened this issue Apr 21, 2023 · 0 comments · Fixed by #1571
Closed

make --retry option identical the one in curl #1475

fabricereix opened this issue Apr 21, 2023 · 0 comments · Fixed by #1571
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@fabricereix
Copy link
Collaborator

Currently, --retry option in Hurl does not exactly have the same semantic than the --retry option in curl.
In curl, it specify the number of retries (0 by default = no retry)
while in Hurl, it just means "keep retrying" and the number of retries is given by the option --retry-max-count.

We are going to align Hurl behavior to curl.
It is still interesting to have the possibility to retry indefinitely.
Maybe by passing the value -1.
This is consistent with --max-redirs (Set this option to -1 to make it unlimited)

@fabricereix fabricereix self-assigned this May 17, 2023
@fabricereix fabricereix added this to the 4.0.0 milestone May 17, 2023
@fabricereix fabricereix linked a pull request May 26, 2023 that will close this issue
@jcamiel jcamiel added the enhancement New feature or request label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants