getconversio / email-deep-validator

Verify email address checking MX records, and SMTP connection.
MIT License
124 stars 33 forks source link

hotfix: dont write to destroyed sockets #14

Closed jmnsf closed 5 years ago

jmnsf commented 5 years ago

On an ECONNREFUSED, for example, we'll attempt a socket.write of QUIT, which will error out because there's no socket, which in turn calls the error callback again, etc., etc.