an empty message in the handler means EOF

This commit is contained in:
holger krekel
2023-10-16 21:49:35 +02:00
parent 1bac4b5b46
commit c35e485510

View File

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