about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-07-20 09:24:10 +0000
committerEric Wong <e@80x24.org>2022-07-20 16:52:09 +0000
commit8abe7e6cda7bc9f8daa4e9cf6ef7e51b356902d5 (patch)
tree233f5529db5c7b0c07ca3f10fb09776eb984de44
parent68046e0fff12c35d793a7ae9f164ac415c84cc21 (diff)
downloadpublic-inbox-8abe7e6cda7bc9f8daa4e9cf6ef7e51b356902d5.tar.gz
This may help clients communicate to users if they're
making parallel connections or if we have server bugs.
-rw-r--r--lib/PublicInbox/POP3.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/POP3.pm b/lib/PublicInbox/POP3.pm
index 86123563..51c2b71a 100644
--- a/lib/PublicInbox/POP3.pm
+++ b/lib/PublicInbox/POP3.pm
@@ -176,7 +176,7 @@ sub _login_ok ($) {
                 $self->{uid_max} = $self->{ibx}->over(1)->max;
                 \"+OK logged in\r\n";
         } else {
-                \"-ERR unable to lock maildrop\r\n";
+                \"-ERR [IN-USE] unable to lock maildrop\r\n";
         }
 }
 
@@ -350,6 +350,7 @@ USER\r
 PIPELINING\r
 UIDL\r
 EXPIRE 0\r
+RESP-CODES\r
 .\r
 EOM
 }