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

Tony Stevenson moved DEFT-154 to AWF-47:
----------------------------------------

        Key: AWF-47  (was: DEFT-154)
    Project: Apache AWF  (was: Deft)
    
> Naive read in AsynchronousSocket
> --------------------------------
>
>                 Key: AWF-47
>                 URL: https://issues.apache.org/jira/browse/AWF-47
>             Project: Apache AWF
>          Issue Type: Bug
>            Reporter: Roger Schildmeijer
>            Assignee: Roger Schildmeijer
>         Attachments: 
> Implemented+%23DEFT-154+%28Naive+read+in+AsynchronousSocket%29+patch+by+schildme.patch
>
>
> IOExceptions are not catched in AsynchronousSocket.handleRead(..)
> E.g if a connection between two peers is broken and one of them tried to read 
> from the channel, an IOE could be thrown (valid case). 
> Proposal: catch the exception, log,  invoke close callback (if its set), 
> close the channel and unregister it from the ioloop. (hint. 
> Closeable.closeQuietly(..))
> (Found while doing DEFT-151 (Distributed demo application (elastica)))

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to