directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRMINA-73) The new close(boolean wait) logic seems flawed, never waiting for flush
Date Thu, 21 Jul 2005 09:29:46 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-73?page=all ]
     
Trustin Lee resolved DIRMINA-73:
--------------------------------

    Fix Version: 0.7.4
     Resolution: Fixed

> The new close(boolean wait) logic seems flawed, never waiting for flush
> -----------------------------------------------------------------------
>
>          Key: DIRMINA-73
>          URL: http://issues.apache.org/jira/browse/DIRMINA-73
>      Project: Directory MINA
>         Type: Bug
>     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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message