james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-1303) IMAPServer / SMTPServer / POP3Server MAY close the Channel before all messages are flushed out
Date Thu, 25 Aug 2011 06:00:31 GMT
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


Mime
View raw message