[ 
https://issues.apache.org/jira/browse/DIRMINA-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny updated DIRMINA-785:
--------------------------------------
    Fix Version/s: 2.0.8

> 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š
>             Fix For: 2.0.8
>
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to