Skip to content

Conversation

icing
Copy link
Contributor

@icing icing commented Sep 2, 2025

Tweaks around handling of --limit-rate:

  • tracing: trace outstanding timeouts by name
  • multi: do not mark transfer as dirty that have an EXPIRE_TOOFAST set
  • multi: have one static function to asses speed limits
  • multi: when setting EXPIRE_TOOFAST remove the transfers from the dirty set
  • progress: rename vars and comment on how speed limit timeouts are calculated, for clarity
  • transfer: when speed limiting, exit the receive loop after a quarter of the limit has been received, not on the first chunk received.
  • cf-ip-happy.c: clear EXPIRE_HAPPY_EYEBALLS on connect
  • scorecard: add --limit-rate parameter to test with speed limits in effect

Tweaks around handling of --limit-rate:

* tracing: trace outstanding timeouts by name
* multi: do not mark transfer as dirty that have
  an EXPIRE_TOOFAST set
* multi: have one static function to asses speed limits
* multi: when setting EXPIRE_TOOFAST remove the transfers
  from the dirty set
* progress: rename vars and comment on how speed limit
  timeouts are calculated, for clarity
* transfer: when speed limiting, exit the receive loop
  after a quarter of the limit has been received, not
  on the first chunk received.
* cf-ip-happy.c: clear EXPIRE_HAPPY_EYEBALLS on connect
* scorecard: add --limit-rate parameter to test with
  speed limits in effect
@github-actions github-actions bot added the tests label Sep 2, 2025
@icing icing added tidy-up and removed tests labels Sep 2, 2025
@github-actions github-actions bot added the tests label Sep 2, 2025
@icing icing requested a review from bagder September 2, 2025 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant