directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r349583 - /directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java
Date Tue, 29 Nov 2005 01:54:30 GMT
Author: trustin
Date: Mon Nov 28 17:54:26 2005
New Revision: 349583

URL: http://svn.apache.org/viewcvs?rev=349583&view=rev
Log:
Fixed a bug where a SSLFilter.SESSION_SECURED message is fired twice.

Modified:
    directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java

Modified: directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java?rev=349583&r1=349582&r2=349583&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/filter/support/SSLHandler.java Mon Nov
28 17:54:26 2005
@@ -404,12 +404,7 @@
             SessionLog.debug( session, " doHandshake()" );
         }
         
-        if( initialHandshakeComplete )
-        {
-            return;
-        }
-
-        for( ;; )
+        while( !initialHandshakeComplete )
         {
             if( initialHandshakeStatus == SSLEngineResult.HandshakeStatus.FINISHED )
             {



Mime
View raw message