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

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

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: