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 (JIRA)" <se...@james.apache.org> on 2011/08/25 08:00:31 UTC

[jira] [Created] (JAMES-1303) IMAPServer / SMTPServer / POP3Server MAY close the Channel before all messages are flushed out

IMAPServer / SMTPServer / POP3Server MAY close the Channel before all messages are flushed out
----------------------------------------------------------------------------------------------

                 Key: JAMES-1303
                 URL: https://issues.apache.org/jira/browse/JAMES-1303
             Project: JAMES Server
          Issue Type: Bug
          Components: IMAPServer, POP3Server, SMTPServer
    Affects Versions: 3.0-beta3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-beta4


At the moment we call Channel.close(); to close the channel. This will close the channel without make sure that all currently queued message are flushed out to the client.
This can lead to some strange side effects as we may not write all data for the response out to the client before doing so.

See:
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Flush-channel-before-close-td5634777.html
http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-behavior-when-disconnecting-a-channel-td5861795.html#a5862024



--
This message is automatically generated by JIRA.
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


[jira] [Resolved] (JAMES-1303) IMAPServer / SMTPServer / POP3Server MAY close the Channel before all messages are flushed out

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1303.
----------------------------------

    Resolution: Fixed

was done...

> IMAPServer / SMTPServer / POP3Server MAY close the Channel before all messages are flushed out
> ----------------------------------------------------------------------------------------------
>
>                 Key: JAMES-1303
>                 URL: https://issues.apache.org/jira/browse/JAMES-1303
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: IMAPServer, POP3Server, SMTPServer
>    Affects Versions: 3.0-beta3
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0-beta4
>
>
> At the moment we call Channel.close(); to close the channel. This will close the channel without make sure that all currently queued message are flushed out to the client.
> This can lead to some strange side effects as we may not write all data for the response out to the client before doing so.
> See:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Flush-channel-before-close-td5634777.html
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-behavior-when-disconnecting-a-channel-td5861795.html#a5862024

--
This message is automatically generated by JIRA.
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