9fa6bcdf82
This encapsulates the logic for sending a keepalive/IDLE call, including starting a sync if needed. This code was originally by James Bunton <jamesbunton@fastmail.fm>. I modified the idle() method to put the select() call after acquireconnection(). Signed-off-by: Ethan Glasser-Camp <ethan@betacantrips.com> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>