Connection termination
Closed this issue · 0 comments
ForNeVeR commented
- Connect to an XMPP server
- Shut down the server (Prosody in my case)
- The server will properly close the XML stream
- But the client won't detect it
The reason is in this line of code:
Prosody closes the XML correctly, thus it will just start returning false
in loop instead of trying to read more from the stream and failing.