#3942: mutt with hanging on large Exchange "Deleted Messages" folder
-----------------------+---------------------
  Reporter:  wyardley  |      Owner:  brendan
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:
 Component:  IMAP      |    Version:  1.8.2
Resolution:            |   Keywords:
-----------------------+---------------------

Comment (by Kevin McCarthy <kevin@…>):

 In [changeset:"77d3173aecffe24557aaaa9218e5cf09a922598f"
 7051:77d3173aecff]:
 {{{
 #!CommitTicketReference repository=""
 revision="77d3173aecffe24557aaaa9218e5cf09a922598f"
 Add msn_index and max_msn to find and check boundaries by MSN. (see #3942)

 Since there can be gaps in MSNs, the largest MSN in the context is not
 necessarily ctx->msgcount.

 Use max_msn instead of ctx->msgcount for:
   - the starting MSN of new mail header fetching
   - boundary checking in fetch, expunge, and other places

 Use msn_index to efficiently look up headers by MSN.  This makes the
 expunge code slightly more efficient.  It also makes FETCH handling, and
 duplicate FETCH FLAG handling efficient.
 }}}

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3942#comment:7>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to