Skip to content

transfers, do not EXPIRE_NOW blocked #13908

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

Closed
wants to merge 3 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Jun 7, 2024

  • When a transfer sets data->state.select_bits, it is scheduled for rerun with EXPIRE_NOW. If such a transfer is blocked (due to PAUSE, for example), this will lead to a busy loop.
  • multi.c: check for transfer block
  • sendf.*: add Curl_xfer_is_blocked()
  • sendf.*: add client reader is_paused() callback
  • implement is_paused()` callback where needed

icing added 3 commits June 11, 2024 13:51
- When a transfer sets `data->state.select_bits`, it is
  scheduled for rerun with EXPIRE_NOW. If such a transfer
  is blocked (due to PAUSE, for example), this will lead to
  a busy loop.
- multi.c: check for transfer block
- sendf.*: add Curl_xfer_is_blocked()
- sendf.*: add client reader `is_paused()` callback
- implement is_paused()` callback where needed
@icing icing force-pushed the xfer-unbusy-blocked branch from ce3b71c to 0361544 Compare June 11, 2024 11:58
@bagder bagder closed this in 3841569 Jun 13, 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.

1 participant