Skip to content

fix: Abort stalled plugin downloads quickly and retry them - #683

Closed
disq wants to merge 1 commit into
mainfrom
fix/stall-watchdog-download
Closed

fix: Abort stalled plugin downloads quickly and retry them#683
disq wants to merge 1 commit into
mainfrom
fix/stall-watchdog-download

Conversation

@disq

@disq disq commented Sep 1, 2026

Copy link
Copy Markdown
Member

A download whose server goes silent (headers or mid-body) previously hung until a middlebox killed the connection ~125s later; a per-attempt watchdog now cancels the attempt after 30s without progress and classifies the failure as retryable, so a stall costs seconds instead of minutes while a caller's own cancellation stays terminal.

@disq
disq marked this pull request as ready for review September 1, 2026 14:31
@disq
disq requested a review from a team as a code owner September 1, 2026 14:31
@disq
disq requested review from erezrokah and removed request for a team September 1, 2026 14:31

@erezrokah erezrokah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe also handle getURLLocation?

@erezrokah

Copy link
Copy Markdown
Member

Cleaner to use ResponseHeaderTimeout? #684

@disq

disq commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

Superseded by #684

@disq disq closed this Sep 1, 2026
@disq
disq deleted the fix/stall-watchdog-download branch September 1, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants