Skip to content

Conversation

@lmarlow
Copy link

@lmarlow lmarlow commented Oct 13, 2017

When connecting many clients to an XMPP server quickly, closed streams
can occur. Let those errors through instead of blowing up due to
FunctionClauseError.

This could probably be done more cleanly with with, but mix.exs specifies compatibility back to Elixir 1.1.

Fixes #27

When connecting many clients to an XMPP server quickly, closed streams
can occur. Let those errors through instead of blowing up due to
FunctionClauseError.

Fixes scrogson#27
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.3%) to 71.885% when pulling 01a3bc5 on lmarlow:send_error into 0ecef1e on scrogson:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.2%) to 75.399% when pulling 84a4fe7 on lmarlow:send_error into 0ecef1e on scrogson:master.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not handling possible error when calling :gen_tcp.send/2 in Romeo.Transports.TCP.send/2

2 participants