From c35e48551070faaf0b4158023974ea91cca72522 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Mon, 16 Oct 2023 21:49:35 +0200 Subject: [PATCH] an empty message in the handler means EOF --- chatmaild/src/chatmaild/dictproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmaild/src/chatmaild/dictproxy.py b/chatmaild/src/chatmaild/dictproxy.py index 77333a03..ed3b7eb0 100644 --- a/chatmaild/src/chatmaild/dictproxy.py +++ b/chatmaild/src/chatmaild/dictproxy.py @@ -95,7 +95,7 @@ def main(): while True: msg = self.rfile.readline().strip().decode() if not msg: - continue + break res = handle_dovecot_request(msg, db) if res: print(f"sending result: {res!r}", file=sys.stderr)