incubator-ftpserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r597969 - /incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
Date Sun, 25 Nov 2007 10:04:41 GMT
Author: ngn
Date: Sun Nov 25 02:04:39 2007
New Revision: 597969

URL: http://svn.apache.org/viewvc?rev=597969&view=rev
Log:
Closing connection of session close

Modified:
    incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java

Modified: incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java?rev=597969&r1=597968&r2=597969&view=diff
==============================================================================
--- incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
(original)
+++ incubator/ftpserver/trunk/core/src/java/org/apache/ftpserver/listener/mina/MinaFtpProtocolHandler.java
Sun Nov 25 02:04:39 2007
@@ -84,6 +84,9 @@
         MinaFtpResponseOutput output = (MinaFtpResponseOutput) session.getAttribute(OUTPUT_KEY);
         
         protocolHandler.onConnectionClosed(connection, (FtpSessionImpl)connection.getSession(),
output);
+        
+        ConnectionManager conManager = serverContext.getConnectionManager();
+        conManager.closeConnection(connection);
     }
     
     public void messageReceived( IoSession session, Object message ) throws IOException,
FtpException



Mime
View raw message