mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRMINA-1041) WriteFuture.await() hangs when the connection is closed remotely before await is invoked
Date Mon, 24 Oct 2016 00:45:58 GMT

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

Emmanuel Lecharny resolved DIRMINA-1041.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.16

I believe this commit (http://git-wip-us.apache.org/repos/asf/mina/commit/b5d0fbe3) fixes
the issue.

Please give it a try.

> WriteFuture.await() hangs when the connection is closed remotely before await is invoked
> ----------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-1041
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1041
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.13
>            Reporter: Gijsbert van den Brink
>             Fix For: 2.0.16
>
>         Attachments: DIRMINA1041Test.java
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message