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

Multiple literals and file literals are buggy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • IMAPServer
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m