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 "Norman Maurer (Resolved) (JIRA)" <se...@james.apache.org> on 2011/10/07 18:37:30 UTC

[jira] [Resolved] (IMAP-341) IdleProcessor sends message to client before add IdleStateListener

     [ https://issues.apache.org/jira/browse/IMAP-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved IMAP-341.
--------------------------------

    Resolution: Fixed

done
                
> IdleProcessor sends message to client before add IdleStateListener
> ------------------------------------------------------------------
>
>                 Key: IMAP-341
>                 URL: https://issues.apache.org/jira/browse/IMAP-341
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Processor
>    Affects Versions: 0.2.1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.3
>
>
> The IdleProcessor does send the "+\r\n" message back to the client and then add the IdleStateListener to the Mailbox. This can lead to some kind of race-condition as the Client may miss an event this way. The correct way would be to fist add the Listener and then write the message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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