Use a timeout event in server_loop() to send the KEEPALIVE status
commit9b25904e7435d201ff4faf1df5b327c04938e10e
authorBen Kibbey <bjk@luxsci.net>
Tue, 26 Feb 2008 04:10:46 +0000 (25 23:10 -0500)
committerBen Kibbey <bjk@luxsci.net>
Tue, 26 Feb 2008 04:10:46 +0000 (25 23:10 -0500)
treedf3d57c4f35a7e215e822d10bc063e3b9cf5b859
parent78e9d8bfe0421bd046a33153c8e299c0bdaba649
Use a timeout event in server_loop() to send the KEEPALIVE status
message which uses a pth_msgport_t via send_status_all(). This removes
keepalive_thread() which can make pth_yield() more responsive when
encrypting/decrypting.
doc/config.example
src/commands.c
src/common.h
src/pwmd.c
src/pwmd.h