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

Emmanuel Lecharny closed DIRMINA-412.
-------------------------------------


> WriteFuture.join() hangs when exception thrown in filterWrite
> -------------------------------------------------------------
>
>                 Key: DIRMINA-412
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-412
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.0.4, 1.1.1
>         Environment: Windows XP
>            Reporter: Marc Friedman
>            Assignee: Trustin Lee
>             Fix For: 1.0.5, 1.1.2
>
>         Attachments: WhenWriteFails.java
>
>
> If an exception is thrown in the filterWrite() method of a filter then the 
> processing of the write on the session is abandoned and an ExceptionCaught 
> event is transmitted down the filter chain. However, the WriteFuture is 
> returned normally from session.write() and the future is not notified of the 
> write failure. As a result, a join() without timeout on the WriteFuture will 
> cause the calling thread to hang. The attached code illustrates this behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to