Skip to content

Cache missing POP message unique IDs - #36

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/cache-missing-uidl
Open

OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/cache-missing-uidl

Conversation

@OskarEichler

Copy link
Copy Markdown

Servers can omit deleted messages from UIDL listings. POPMail#unique_id currently uses nil as both an unfetched marker and a fetched missing result, so every call refetches the full UIDL listing. Track fetched state separately and invalidate missing results on RSET, when deleted messages may become visible again. Current suites pass 10 tests / 17 assertions on Ruby 4.0.6 and 3.2.11; focused cache/reset models, syntax and package checks pass. No repository tests were changed.

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