mirror of https://github.com/msantos/xmppipe
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4c69352f19
Implement flow control by monitoring the number of unacked stream requests and the number of unprocessed stanzas. If either exceeds a user controlled limit, xmppipe will stop reading from stdin. Further stream requests will be generated whenever the keepalive timeout is reached and an XMPP ping is sent. ejabberd/mongooseim will close the connection if there are about 5 unacked stream requests. xmppipe should probably do the same thing. With these changes, binaries can be reliably (but slowly) sent over XMPP. ssh over XMPP is also working reliably (with light testing). Because of the increase in size due to base64 encoding, the buffer size needs to be reduced so the encoded message is under 4k (-m 1024 is ok). |
9 years ago | |
---|---|---|
examples | 9 years ago | |
src | 9 years ago | |
.gitignore | 9 years ago | |
Makefile | 9 years ago |