hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
251 stars 20 forks source link

heartbeat for idle peers #17

Closed hannesm closed 9 years ago

hannesm commented 9 years ago

related to #14 - send a whitespace (0x20) every now and then on non-busy streams (if they're not currently tls or sasl negotiating) https://tools.ietf.org/html/rfc6120#section-4.6 contains some more details, some servers might even implement xmpp ping (xep-199)