mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r544349 - /mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java
Date Tue, 05 Jun 2007 02:53:42 GMT
Author: trustin
Date: Mon Jun  4 19:53:41 2007
New Revision: 544349

URL: http://svn.apache.org/viewvc?view=rev&rev=544349
Log:
fixed possible visibility problem in initializing SSLFilter

Modified:
    mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java

Modified: mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java
URL: http://svn.apache.org/viewvc/mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java?view=diff&rev=544349&r1=544348&r2=544349
==============================================================================
--- mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java (original)
+++ mina/branches/1.0/filter-ssl/src/main/java/org/apache/mina/filter/SSLFilter.java Mon Jun
 4 19:53:41 2007
@@ -343,7 +343,10 @@
     public void onPostAdd( IoFilterChain parent, String name, NextFilter nextFilter ) throws
SSLException
     {
         SSLHandler handler = getSSLSessionHandler( parent.getSession() );
-        handler.handshake( nextFilter );
+        synchronized( handler )
+        {
+            handler.handshake( nextFilter );
+        }
         handler.flushPostHandshakeEvents();
     }
     



Mime
View raw message