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

Emmanuel Lecharny closed DIRMINA-73.
------------------------------------


> The new close(boolean wait) logic seems flawed, never waiting for flush
> -----------------------------------------------------------------------
>
>                 Key: DIRMINA-73
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-73
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 0.7.3
>         Environment: N/A
>            Reporter: Magnus Naeslund
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 0.7.4
>
>         Attachments: mina-SocketSession-close-fix1.diff
>
>
> It seems the while (disposed) test should be inverted.
> Patch:
> --- org/apache/mina/io/socket/SocketSession.java        (revision 219643)
> +++ org/apache/mina/io/socket/SocketSession.java        (working copy)
> @@ -130,7 +130,7 @@
>          SocketIoProcessor.getInstance().removeSession( this );
>          if( wait )
>          {
> -            while( disposed )
> +            while( !disposed )
>              {
>                  try
>                  {

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