Skip to content

multi-event: fix timeout of pending transfers - #22942

Closed
icing wants to merge 2 commits into
curl:masterfrom
icing:multi_ev-pending-timeout
Closed

icing wants to merge 2 commits into
curl:masterfrom
icing:multi_ev-pending-timeout

Conversation

@icing

@icing icing commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The multi's "run dirty" loop ignored transfers that are not in processing state, e.g. pending transfers. That led to timeouts not being acted upon for those transfers.

Fixed by moving a "dirty" pending transfer to the connect state and processing it.

Added test_02_37 for verification.

The multi's "run dirty" loop ignored transfers that are not
in processing state, e.g. pending transfers. That led to timeouts
not being acted upon for those transfers.

Fixed by moving a "dirty" pending transfer to the connect state
and processing it.

Added test_02_37 for verification.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused change has regression coverage and no unresolved review issues.

Pull request overview

Fixes timeouts for pending transfers in the multi interface and adds regression coverage.

Changes:

  • Processes dirty pending transfers through the connect state.
  • Adds a debug connection-limit control.
  • Adds HTTP test coverage and documentation.
File summaries
File Description
tests/http/test_02_download.py Tests pending-transfer timeout behavior.
lib/multi.c Handles dirty pending transfers and debug connection limits.
docs/libcurl/libcurl-env-dbg.md Documents the debug environment variable.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bagder bagder closed this in ef362b7 Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants