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

curl_easy_reset : fix HTTP Retry mechanism #5974

FreeYourSoul opened this issue Sep 17, 2020 · 2 comments

curl_easy_reset : fix HTTP Retry mechanism #5974

FreeYourSoul opened this issue Sep 17, 2020 · 2 comments


Copy link

I did this

By using the easy interface, I was using the same http connection (and reset it a each use) in order to not waste resources starting connection over and over, working perfectly fine on version 7.70, since version 7.72, it didn't work anymore

The issue

The issue is comming from the retry mechanism that has been re factorized, the retry is now set in the state data of the connection in
But the issue is that this new value introduced is not reset to 0 when calling curl_easy_reset, which makes project using this reset feature not working anymore

curl/libcurl version


I attach the fix directly to this issue

Copy link

bagder commented Sep 17, 2020

Forgot the attachment?

Copy link

FreeYourSoul commented Sep 17, 2020


Sorry, you commented faster than I do the PR.

@bagder bagder linked a pull request Sep 17, 2020 that will close this issue
@bagder bagder closed this as completed in 7921b41 Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Successfully merging a pull request may close this issue.

2 participants