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

Anonymous ChannelPipelineFactory implementation in IMAPServer does not stop timer

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: IMAPServer
    • Labels:

      Description

      IMAP's timeout behavior differs from the other mail protocols, requiring a specific idle timeout handler implementation. To achieve this the IMAPServer has an anonymous implementation of netty's ChannelPipelineFactory with a HashedWheelTimer instance. As the ChannelPipelineFactory interface does not extend ExternalResourceReleasable, the HashedWheelTimer is not stopped when the IMAPServer is shutdown. This causes the Server to hang until it is force killed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stacke Sebastian Tacke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: