Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3811

Ability to cancel IMAP request execution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • 3.8.0
    • IMAPServer
    • None

    Description

      For now ImapChannelUpstreamHandler never cancels the execution of IMAP requests it schedules.

      For instance big `FETCH 1:* BODYSTRUCTURE` timing out, with clients closing the connection, should not be processed any longer as they take valuable compute resources away from the rest of the IMAP traffic.

      However in some cases we know we could stop handling a given IMAP request: when the connection is close/inactive.

      We could keep track of pending computations at the channel level so that we could stop those computations when beneficial.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m