Malformed IQ packet disconnection bug
When you send an IQ packet to asterisk-im that is malformed it will disconnect you, it throws an IllegalArgumentException I believe.
Gato's advice for fix:
We may add a checking in SocketReader to check if the received IQ packet
is malformed. If the IQ packet is malformed the server should return a
stanza error with error condition <bad-request/>.
From the XMPP spec:
<bad-request/> – the sender has sent XML that is malformed or that
cannot be processed (e.g., an IQ stanza that includes an unrecognized
value of the 'type' attribute); the associated error type SHOULD be
It is a pretty odd case when this occurs, so i am putting it to 1.0.1