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

org.apache.james.pop3server.core.RetrCmdHandler does not terminate stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • Trunk
    • 3.0-beta3
    • POP3Server
    • None

    Description

      Combination of plain text email with AddFooter mailet causes POP client to hang because the stream is not terminated with CR-LF.CR-LF

      Current line #94 causes hang
      session.writeStream(new ByteArrayInputStream(".\r\n".getBytes()));

      Changing to this will make it work
      session.writeStream(new ByteArrayInputStream("\r\n.\r\n".getBytes()));

      Attachments

        Activity

          People

            norman Norman Maurer
            excelsis Andrew Tomlinson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: