Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net_smtp: Fix misleading error message.
If a client immediately disconnected after receiving the SMTP banner, a warning would be logged about a pregreeting of 0 bytes, which is misleading since the client actually disconnected without sending anything. Add a code path to detect this and simply return -1.
- Loading branch information