Hi,

It seems my attachement file was lost somewhere.
This time I paste the patch in body. Sorry.


Index: src/java/org/apache/ftpserver/ConnectionManagerImpl.java
===================================================================
--- src/java/org/apache/ftpserver/ConnectionManagerImpl.java    (revision 
407453)
+++ src/java/org/apache/ftpserver/ConnectionManagerImpl.java    (working copy)
@@ -230,9 +230,9 @@
         if(conList == null) {
             return;
         }
+        conList = new Vector(conList);
         
         // get inactive client connection list 
-        synchronized(conList) {
             for( int i = conList.size(); --i>=0; ) {
                 IConnection con = (IConnection)conList.get(i);
                 if(con == null) {
@@ -263,7 +263,6 @@
                     }
                 }
             }
-        }
 
         // close idle client connections
         for( Iterator conIt=inactiveCons.iterator(); conIt.hasNext(); ) {


Thanks,
OZAKI Ittetsu




Reply via email to