diff options
author | jgeboski <jgeboski@gmail.com> | 2015-01-17 13:15:27 -0500 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-01-17 13:15:27 -0500 |
commit | 3ec4eca3a75255de6ee36793d665d5b0e0ff5d7e (patch) | |
tree | 0a606de23ed62e324fc6599fad5a2e8d554cf02d /facebook/facebook-api.c | |
parent | 0b5eebec7ad0f8d731ddc70b68c902d3f795c6f1 (diff) | |
download | bitlbee-facebook-3ec4eca3a75255de6ee36793d665d5b0e0ff5d7e.tar.gz bitlbee-facebook-3ec4eca3a75255de6ee36793d665d5b0e0ff5d7e.tar.bz2 bitlbee-facebook-3ec4eca3a75255de6ee36793d665d5b0e0ff5d7e.tar.xz |
facebook-mqtt: fixed preemptive connection timeouts
As it stands, a connection is declared as being timed out if it has not
heard back from the server with a ping response in one keep-alive time
interval. However, the MQTT specification states that a connection is
only declared timed out after one and a half time intervals. While the
effects of this oversight may not be immediately present, over a period
uptime, the connection may fall victim to preemptive timeouts.
Diffstat (limited to 'facebook/facebook-api.c')
0 files changed, 0 insertions, 0 deletions