esl / escalus

An XMPP client library in Erlang for conveniently testing XMPP servers
Apache License 2.0
129 stars 76 forks source link

Handle ws 'close' element properly #261

Closed chrzaszcz closed 10 months ago

chrzaszcz commented 10 months ago

Previously only the legacy 'stream' closing tag was handled, leading to a crash, restart and inability to detect that the server closed the connection.

Note: The branch stems from 4.2.10, not master, because the latter does not work in big tests because of https://github.com/esl/escalus/pull/259. There is a fix needed, but it is independent from this PR.


Recommended for the future: add OTP 26 to CI.