processone/ejabberd — pull request #220 by weiss (2014-05-23 20:07:46+00:00)
Title: XEP-0198: Don't exit on socket send failure

If stream management is enabled, don't exit the c2s process when `ejabberd_socket:send/2` fails, just close the socket instead. This gives the client a chance to resume the session.

Thanks go to Matthias Rieber for reporting the issue, providing detailed logs, and testing the fix.