Skip to content

fix: improve OPDS and font download speeds and reliability#195

Merged
uxjulia merged 7 commits into
developmentfrom
bugfix/opds-download-issues-#182
May 23, 2026
Merged

fix: improve OPDS and font download speeds and reliability#195
uxjulia merged 7 commits into
developmentfrom
bugfix/opds-download-issues-#182

Conversation

@uxjulia
Copy link
Copy Markdown
Owner

@uxjulia uxjulia commented May 23, 2026

Summary

Fixes OPDS/font download reliability issues by improving memory handling, diagnostics, and transfer behavior.

  • Releases the active SD-card reader font before loading OPDS catalogs, giving OPDS feed parsing more free heap.
  • Adds specific OPDS parser error tracking so low-memory XML buffer allocation failures show a clear memory error instead of a generic parse failure.
  • Improves HTTP download diagnostics with timeout/buffer settings, resume offsets, transfer failure details, heap/max allocation, WiFi status, and RSSI.
  • Increases the download idle timeout from 15s to 30s to better tolerate slow regional connections.
  • Restores OPDS book downloads to a 4096-byte transfer buffer for better throughput while keeping the shared/default downloader path on the lower-memory buffer.
  • Adds clearer font download attempt, retry, success, failure, and cancel logs.

@uxjulia uxjulia linked an issue May 23, 2026 that may be closed by this pull request
@uxjulia uxjulia merged commit b340133 into development May 23, 2026
4 checks passed
@uxjulia uxjulia deleted the bugfix/opds-download-issues-#182 branch May 23, 2026 17:11
imshentastic referenced this pull request in imshentastic/CrumBLE May 23, 2026
For now, let's skip the soft hyphens (later, we can treat them in the
layouter). See
crosspoint-reader/crosspoint-reader#17 (comment)
@uxjulia uxjulia linked an issue May 24, 2026 that may be closed by this pull request
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.

OPDS takes forever while screen is flickering Slow download speeds (OPDS and font downloads)

1 participant