james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r755390 - /james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java
Date Tue, 17 Mar 2009 20:54:46 GMT
Author: rdonkin
Date: Tue Mar 17 20:54:45 2009
New Revision: 755390

URL: http://svn.apache.org/viewvc?rev=755390&view=rev
Log:
Logout after bye message IMAP-69 https://issues.apache.org/jira/browse/IMAP-69

Modified:
    james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java

Modified: james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java
URL: http://svn.apache.org/viewvc/james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java?rev=755390&r1=755389&r2=755390&view=diff
==============================================================================
--- james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java
(original)
+++ james/protocols/imap/trunk/decode/src/main/java/org/apache/james/imap/decode/main/DefaultImapDecoder.java
Tue Mar 17 20:54:45 2009
@@ -64,6 +64,7 @@
             // It is probably not possible to recover
             // and (since this may indicate an attack) wiser not to try
             message = messageFactory.bye(HumanReadableTextKey.ILLEGAL_TAG);
+            session.logout();
         }
         return message;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message