You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Sebastian Tacke (JIRA)" <se...@james.apache.org> on 2014/04/24 11:17:15 UTC

[jira] [Created] (JAMES-1545) Anonymous ChannelPipelineFactory implementation in IMAPServer does not stop timer

Sebastian Tacke created JAMES-1545:
--------------------------------------

             Summary: Anonymous ChannelPipelineFactory implementation in IMAPServer does not stop timer
                 Key: JAMES-1545
                 URL: https://issues.apache.org/jira/browse/JAMES-1545
             Project: James Server
          Issue Type: Bug
          Components: IMAPServer
    Affects Versions: 3.0-beta4
            Reporter: Sebastian Tacke


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org