james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject cvs commit: james-server/src/java/org/apache/james/pop3server POP3Handler.java
Date Sat, 12 Jul 2003 23:44:25 GMT
noel        2003/07/12 16:44:25

  Modified:    src/java/org/apache/james/pop3server POP3Handler.java
  Log:
  QUIT should emit +OK in the AUTHENTICATION state (RFC 1939 section 4)
  
  Revision  Changes    Path
  1.30      +2 -0      james-server/src/java/org/apache/james/pop3server/POP3Handler.java
  
  Index: POP3Handler.java
  ===================================================================
  RCS file: /home/cvs/james-server/src/java/org/apache/james/pop3server/POP3Handler.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- POP3Handler.java	27 May 2003 08:47:40 -0000	1.29
  +++ POP3Handler.java	12 Jul 2003 23:44:25 -0000	1.30
  @@ -1036,6 +1036,8 @@
       private void doQUIT(String command,String argument,String argument1) {
           String responseString = null;
           if (state == AUTHENTICATION_READY ||  state == AUTHENTICATION_USERSET) {
  +            responseString = OK_RESPONSE + " Apache James POP3 Server signing off.";
  +            writeLoggedFlushedResponse(responseString);
               return;
           }
           List toBeRemoved =  ListUtils.subtract(backupUserMailbox, userMailbox);
  
  
  

---------------------------------------------------------------------
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