Half-duplex close of TCP channel
--------------------------------

                 Key: DIRMINA-785
                 URL: https://issues.apache.org/jira/browse/DIRMINA-785
             Project: MINA
          Issue Type: Bug
          Components: Transport
    Affects Versions: 2.0.0-M6
            Reporter: Jan Tauš


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to