Update gen_smtp_server_session.erl #61

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

lazedo commented Jan 16, 2014

{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

Maybe you can make Else clause a bit more specific?

I think if ignore on {error, enotconn} and some logging on other errors.

lazedo closed this May 17, 2016

lazedo deleted the lazedo:patch-1 branch May 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment