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

Half-duplex close of TCP channel

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M6
    • Fix Version/s: 2.0.8
    • Component/s: Transport
    • Labels:
      None

      Description

      Current MINA implementation doesn't support half-duplex close as described in RFC-793 section 3.5. "Closing a Connection".

      After the read in AbstractPollingIoProcessor#read() fails due to closed of the input stream whole NioSocketSession#channel is scheduled to close. In such situation only the input part should be closed with call to SocketChannel#socket().shutdownInput(). The whole channel should be closed only after the IoSession#close() call.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jtau8042 Jan Tauš
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: