Naive read in AsynchronousSocket
--------------------------------

                 Key: DEFT-154
                 URL: https://issues.apache.org/jira/browse/DEFT-154
             Project: Deft
          Issue Type: Bug
            Reporter: Roger Schildmeijer
            Assignee: Roger Schildmeijer


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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to