Benoit Tellier created JAMES-4043:
-------------------------------------

             Summary: Multiple literals and file literals are buggy
                 Key: JAMES-4043
                 URL: https://issues.apache.org/jira/browse/JAMES-4043
             Project: James Server
          Issue Type: Bug
          Components: IMAPServer
            Reporter: Benoit Tellier


Specifying multiple literal is an issue for 
ImapRequestFrameDecoder::uploadToAFile as once the transfer is initialized the 
file size is no longer renegociated. This means the IMAP decoders fall short of 
data and fail. We would need to rework the file transfer consumption in order 
to:

 - Move message parsing part of the message consumption
 - Stop it only on successful parsing
 - and cary other NotEnnoughDataException to the consumer to increase it's 
expectations regarding transfered data

While not a major issue today (no use case?) we would need to fix this in order 
to implement IMAP multiappend. I am opening this ticket in order to remember 
about this.
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to