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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.13
    • Fix Version/s: 2.0.16
    • Component/s: Core
    • Labels:
      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

        1. DIRMINA1041Test.java
          3 kB
          Gijsbert van den Brink

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: