[
https://issues.apache.org/jira/browse/DIRMINA-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Tauš updated DIRMINA-785:
-----------------------------
Comment: was deleted
(was: Patch enabling half-duplex close in MINA and AsyncWeb)
> 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š
> Attachments: patch-asyncweb-2.0.0-r942061.diff,
> patch-mina-2.0.0-RC1.diff
>
>
> 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.