frappy/doc/srcdoc/source/protocol/heartbeat.rst
Alexander Lenz cf3fabfa0f doc: initial sphinx files.
Change-Id: I6943f2f39340cb6bad52996bbcf50710c0575b7b
2017-09-11 17:12:14 +02:00

9 lines
547 B
ReStructuredText

Heartbeat
=========
* ping gets an 'intended looptime' argument (as number in seconds or null to disable)
* server replys as usual
* if the server received no new message within twice the indended looptime, it may close the connection.
* if the client receives no pong within 3s it may close the connection
* later discussions showed, that the ping/pong should stay untouched and the keepalive time should be (de-)activated by a special message instead. Also the 'connection specific settings' from earlier drafts may be resurrected for this....