]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imap-hibernate: Properly fix hibernation
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 6 Oct 2016 11:54:24 +0000 (14:54 +0300)
committerGitLab <gitlab@git.dovecot.net>
Mon, 10 Oct 2016 12:08:54 +0000 (15:08 +0300)
commitf24edebe360d3effe584a884aa7d119daf3fd371
treed1443264a47f764162ed5d1c48b905a840470c88
parent4755f8d37a2abb18f3783b4102c26fcd11a9f379
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.
src/imap-hibernate/imap-client.c
src/imap-hibernate/imap-client.h
src/imap-hibernate/imap-hibernate-client.c
src/imap/imap-client-hibernate.c
src/imap/imap-master-client.c
src/imap/imap-state.c
src/imap/imap-state.h