Skip to content

transfers, do not EXPIRE_NOW blocked#13908

Closed
icing wants to merge 3 commits intocurl:masterfrom
icing:xfer-unbusy-blocked
Closed

transfers, do not EXPIRE_NOW blocked#13908
icing wants to merge 3 commits intocurl:masterfrom
icing:xfer-unbusy-blocked

Conversation

@icing
Copy link
Copy Markdown
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