imap-login could get into infinite loop if connection was closed improperly.
imap-login could get into infinite loop if connection was closed improperly.

--HG--
branch : HEAD

jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,jkerihuel/dovecot,jkerihuel/dovecot