Skip to content

Split large UID sets into bounded FETCH commands - #123

Draft
mpscholten wants to merge 1 commit into
qnikst:masterfrom
mpscholten:codex/bound-uid-fetch
Draft

Split large UID sets into bounded FETCH commands#123
mpscholten wants to merge 1 commit into
qnikst:masterfrom
mpscholten:codex/bound-uid-fetch

Conversation

@mpscholten

Copy link
Copy Markdown
Contributor

Summary

  • split large fetchByByteStringSet inputs across bounded UID FETCH commands
  • keep generated wire lines at approximately 1,000 octets, following RFC 2683 section 3.2.1.5
  • concatenate responses from every chunk while preserving command order
  • add regression coverage at the exact command-line boundary

Context

Follow-up to #121, addressing the review feedback about unbounded UID sequence sets.

Validation

  • Nix build with GHC 9.10.2
  • imap-parsers: 55 cases, 0 errors, 0 failures
  • Haddock generation

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.

1 participant