Uploaded image for project: 'Apache AWF'
  1. Apache AWF
  2. AWF-47

Naive read in AsynchronousSocket

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None

    Description

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

      Attachments

        Activity

          People

            rschildmeijer Roger Schildmeijer
            rschildmeijer Roger Schildmeijer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: