From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 777071F619; Tue, 19 Jul 2022 02:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1658198991; bh=KjZDtOJNKQWVIJsR9jXF96RoaZIkR24BPVe2Xf5A/4A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eFZ4OcGswnW+nXIDr/RyakNxyqF5z4eymCD/ki6h9OC9Rmqqbd6cFyF7lmXD+Dbr7 dygX/5H2+lpVR6Kr8/I7rp+9Ij4ScJcuYkL2TFqHszAdZfk7b01N4ZsoJmOF7saBkY GpStVCZPSaCjNwCIDWeH49BY95OHqKjzAg9+b4fU= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/2] pop3: implement IN-USE from RESP-CODES (RFC 2449) Date: Tue, 19 Jul 2022 02:49:50 +0000 Message-Id: <20220719024950.1831808-3-e@80x24.org> In-Reply-To: <20220719024950.1831808-1-e@80x24.org> References: <20220719024950.1831808-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This may help clients communicate to users if they're making parallel connections or if we have server bugs. --- lib/PublicInbox/POP3.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PublicInbox/POP3.pm b/lib/PublicInbox/POP3.pm index f920571d..5cffc556 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 }