twonds / punjab

BOSH connection manager
MIT License
183 stars 49 forks source link

Add BOSH nack for undelivered messages #60

Closed kconwayatlassian-zz closed 8 years ago

kconwayatlassian-zz commented 8 years ago

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.

twonds commented 8 years ago

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.