Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-1041

WriteFuture.await() hangs when the connection is closed remotely before await is invoked

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.13
    • 2.0.16
    • Core
    • None

    Description

      When in a high throughput scenario a TCP connection is closed remotely before one of the `await` methods on WriteFuture is invoked, the `await` method hangs.

      We've actually been seeing this issue for quite some time in our production environment in an application that uses Apache Camel with the camel-mina2 and camel-hl7 components. I was finally able to reproduce the issue in a unit test (see attached).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            vandenbrink@zorgdomein.nl Gijsbert van den Brink
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment