XEP-0206 provides for an optional error response when
the BOSH endpoint fails to deliver a stanza to the client.
This patch adds the writing of an appropriate error response
for message and iq stanzas back to the stream if they are not
delivered by the time a session disconnect is triggered.
Thank you very much for this! I will review it when I can. I did give it a quick glance it looks good. I want to fix the travis builds before I finish the review and merge.
XEP-0206 provides for an optional error response when the BOSH endpoint fails to deliver a stanza to the client. This patch adds the writing of an appropriate error response for message and iq stanzas back to the stream if they are not delivered by the time a session disconnect is triggered.