53640c6990cb084b73db06caaf739c3b859e1010
SMTPConnection only calls the connect() callback once the handshake succeeds; a refused or timed out connection is emitted as an 'error' event, which was only logged. relay() then never settled, so its finally block (which now releases the email stream) never ran, auto-relay held the incoming SMTP transaction open without a reply, and the REST relay request hung. Reject the connect promise from the 'error' handler.
Description
My contributions to maildev/maildev: 8 commits, 1 merged PRs
89 KiB
0 Stars
1 Watchers
0 Forks
Languages
TypeScript
100%