MINA
  1. MINA
  2. DIRMINA-633

ProrocolCodecFilter does not swallow the complete received buffer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M3
    • Fix Version/s: 2.0.0-M4
    • Component/s: None
    • Labels:
      None

      Description

      This is a major bug :
      when handling a buffer and calling the decoder, we may perfectly not use all the buffer. In this case, the current loop is exited, when it should be continued.

      If we have more than one protocol message in the buffer (something I'm currently experimenting with the LDAP protocol), we are losing some of them.

        Activity

        Emmanuel Lecharny made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Emmanuel Lecharny made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Emmanuel Lecharny added a comment -

        Fixed with :
        http://svn.apache.org/viewvc?rev=709044&view=rev

        The 'break' has been removed.

        Show
        Emmanuel Lecharny added a comment - Fixed with : http://svn.apache.org/viewvc?rev=709044&view=rev The 'break' has been removed.
        Emmanuel Lecharny created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Emmanuel Lecharny
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development