Revision 41e25fc...

Go back to digest for 6th October 2013

Bug Fixes in KDE-PIM

Jan Kundrát committed changes in [trojita] /Imap:

IMAP: detect UIDVALIDITY changes when they happen while a mailbox is already selected

No real-world IMAP server shall do this, ever, and expect the clients to work
well. That said, clients absolutely have to handle this reasonably. Given that
no server is known to do this (apart from an old version which does this at most
once for a user for reasons related to delayed mailbox allocation), it seems
acceptable to simply disconnect in this case.

Yes, it might be possible to reconnect to the mailbox. However, verifying that
all pending requests are killed reasonably is too much work for a condition that
no Trojita user will ever see, hopefully.


REVIEW: 113109

File Changes

Modified 3 files
  • /Imap
  •   tests/test_Imap_SelectedMailboxUpdates.cpp
  •   tests/test_Imap_SelectedMailboxUpdates.h
  •   src/Tasks/KeepMailboxOpenTask.cpp
3 files changed in total