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

ratelimit/progress tweaks #14335

Closed
wants to merge 2 commits into from
Closed

Conversation

icing
Copy link
Contributor

@icing icing commented Aug 1, 2024

  • multi.c: when ratelimiting a transfer stops (MSTATE_RATELIMITING -> MSTATE_PERFORMING), run the MSTATE_PERFORMING state right away
  • urldata.h: factor out upload and download progress counters into a struct, use that for passing these to progress update functions
  • progress.c/getinfo.c: change names of moved progress counters
  • progress.c: use new structs and a helper struct to factor repeated calculation into static helpers

- multi.c: when ratelimiting a transfer stops (MSTATE_RATELIMITING -> MSTATE_PERFORMING),
  run the MSTATE_PERFORMING state right away
- urldata.h: factor out upload and download progress counters into a struct,
  use that for passing these to progress update functions
- progress.c/getinfo.c: change names of moved progress counters
- progress.c: use new structs and a helper struct to factor repeated
  calculation into static helpers
@bagder bagder closed this in ba44ac6 Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants