mirror of https://github.com/msantos/xmppipe
sm: request ack for every stanza
When stdin is closed with stream management enabled, xmppipe waits for the ack to match the number of stanzas sent to ensure all the data has been flushed to the server. The server may not respond to every stream request and a stream request message is generated only when a stanza is sent. Since stdin is closed, the only traffic is the XMPP pings which are sent out every 60 seconds by default. The result is, when stdin is closed, it may take several minutes for xmppipe to exit. Work around the problem by sending a stream management request for every stanza.pull/1/head
parent
147e0d7c2b
commit
5c14db6448
Loading…
Reference in New Issue