mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRMINA-785) Half-duplex close of TCP channel
Date Mon, 10 May 2010 17:30:18 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12865835#action_12865835

Emmanuel Lecharny commented on DIRMINA-785:

I'm afraid this will be a bit difficult to fix for 2.0. 

We have to think about it for 3.0, IMO.

> 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.

View raw message