Skip to content

ratelimit/progress tweaks - #14335

Closed
icing wants to merge 2 commits into
curl:masterfrom
icing:ratelimit-progress-tweaks
Closed

icing wants to merge 2 commits into
curl:masterfrom
icing:ratelimit-progress-tweaks

Conversation

@icing

@icing icing commented Aug 1, 2024

Copy link
Copy Markdown
Contributor
  • 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

icing added 2 commits August 1, 2024 13:05
- 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