Repository navigation
fix(opds): bound requests, blocking jobs and download streams - #183
Merged
Merged
Conversation
This was referenced Oct 20, 2026
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 21, 2026 03:33
c812389 to
1442f0d
Compare
phildenhoff
force-pushed
the
opds-refresh-catalog
branch
2 times, most recently
from
October 21, 2026 05:02
43a8efa to
40f58a1
Compare
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 21, 2026 05:02
1442f0d to
9183e0c
Compare
phildenhoff
force-pushed
the
opds-refresh-catalog
branch
from
October 21, 2026 05:04
40f58a1 to
be4a408
Compare
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 21, 2026 05:04
9183e0c to
8b400d2
Compare
phildenhoff
force-pushed
the
opds-refresh-catalog
branch
from
October 21, 2026 05:16
be4a408 to
e3b738b
Compare
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 21, 2026 05:16
8b400d2 to
01ae62f
Compare
phildenhoff
force-pushed
the
opds-refresh-catalog
branch
from
October 21, 2026 07:39
e3b738b to
1dbd11a
Compare
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 21, 2026 07:39
01ae62f to
4a92afe
Compare
phildenhoff
force-pushed
the
opds-refresh-hardening
branch
from
October 22, 2026 01:16
4a92afe to
910db29
Compare
libcalibre Test Coverage ReportOverall coverage: 84.79% Coverage breakdown available in the artifacts. |
phildenhoff
marked this pull request as ready for review
October 22, 2026 01:22
phildenhoff
enabled auto-merge
October 22, 2026 01:22
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces #154. Retains the original implementation's author credit; the legacy native stack prevents retargeting the original PR.
Bound catalog resource use across every listener without interrupting slow book downloads.
Tests cover shared admission/body lifetime, blocking-job cancellation, oversized declared/chunked bodies, slow successful asset responses, permission errors and HTTP traversal attempts. Downloads have no feed deadline. These middleware bounds start after headers; slow-header/accepted-connection limits remain outside this implementation.
Stack: #183 → #184. #185, #181 and #182 are merged. #183 targets main.
Validation after rebasing onto merged #182: runtime/server tests,
bun lint,bun format:check, andbun run typecheckpassed. CI is running on the updated head.Known catalog follow-ups from #182 remain separate: return facet identity and data atomically during desktop library switches; advertise root start/up links as navigation feeds. This PR bounds resource use and does not change those catalog semantics.