Vagabond/gen_smtp — pull request #61 by lazedo (2014-01-16 08:10:59+00:00)
Title: Update gen_smtp_server_session.erl

{ok, {PeerName, _Port}} = socket:peername(Socket)
the use case is when haproxy is checking server availability, the return value is {error,enotconn} leading to crash