POP3 QUIT must write a response (#568)

This commit is contained in:
Jacob Lifshay
2024-06-28 00:30:15 -07:00
committed by GitHub
parent 5e7bd3f6be
commit 0693253dff

View File

@@ -89,6 +89,11 @@ impl<T: SessionStream> Session<T> {
self.write_err("Failed to delete messages").await?;
}
}
} else {
self.write_ok(format!(
"Stalwart POP3 bids you farewell (no messages deleted)."
))
.await?;
}
} else {
self.write_ok("Stalwart POP3 bids you farewell.").await?;