Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-579

ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M1, 2.0.0-M2
    • 2.0.0-M2
    • Filter
    • None
    • related to issue ASYNCWEB-11

    Description

      ConsumeToEndOfSessionDecodingState wont finish decoding if no data was gathered and the internal buffer is null (will produce a NPE exception while finishDecode(PrococolDecoderOutput ..) and the NPE will be ignored by DecodingStateMachine finishDecode(PrococolDecoderOutput ..).

      First : fix the ConsumeToEndOfSessionDecodingState behaviour
      Second : investigate why DecodingStateMachine is shallowing important exceptions.

      Attachments

        1. DIRMINA-579.patch
          0.7 kB
          Julien Vermillard

        Activity

          due to current SVN fubar state, here a patch to apply to mina trunk core component

          vrm Julien Vermillard added a comment - due to current SVN fubar state, here a patch to apply to mina trunk core component

          fix commited

          vrm Julien Vermillard added a comment - fix commited

          People

            vrm Julien Vermillard
            vrm Julien Vermillard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: