History log of /dovecot/src/imap/imap-state.h
Revision Date Author Comments Expand
f24edebe360d3effe584a884aa7d119daf3fd371 10-Oct-2016 Aki Tuomi <aki.tuomi@dovecot.fi>

imap-hibernate: Properly fix hibernation The previous fix did not properly fix hibernation as the clients still dropped out of hibernate. Also the tag used was no longer following. This change will track tag changes and keeps the hibernation process going on until the user enters something else than DONE\r\ntag IDLE\r\n in same packet.

5ef28f68edef46f69961b19b7c1dcd8ec5a955e8 24-Aug-2015 Timo Sirainen <tss@iki.fi>

Added imap-hibernate process for gathering IDLEing imap processes. imap_hibernate_timeout setting controls how quickly the connection is moved from imap process to imap-hibernate process. Some IMAP extensions like NOTIFY, SEARCH=CONTEXT and COMPRESS aren't supported yet. There's also a new X-STATE command, which can be used to export the current IMAP connection state to a string and later on imported to get back to the original state (a quick resync feature for IMAP clients). However, this command is disabled for now due to the current code being unoptimized for untrusted input.

/dovecot/.hgignore /dovecot/configure.ac /dovecot/src/Makefile.am /dovecot/src/imap-hibernate/Makefile.am /dovecot/src/imap-hibernate/imap-client.c /dovecot/src/imap-hibernate/imap-client.h /dovecot/src/imap-hibernate/imap-hibernate-client.c /dovecot/src/imap-hibernate/imap-hibernate-client.h /dovecot/src/imap-hibernate/imap-hibernate-settings.c /dovecot/src/imap-hibernate/imap-master-connection.c /dovecot/src/imap-hibernate/imap-master-connection.h /dovecot/src/imap-hibernate/main.c Makefile.am cmd-idle.c cmd-x-state.c imap-client-hibernate.c imap-client.c imap-client.h imap-commands.c imap-commands.h imap-common.h imap-master-client.c imap-master-client.h imap-settings.c imap-settings.h imap-state.c imap-state.h main.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/plugins/imap-zlib/imap-zlib-plugin.c