[dovecot/core] e82efb: imapc: If we get disconnected during SELECT/EXAMIN...

GitHub noreply at github.com
Tue Apr 5 17:06:07 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: e82efb347c91c199218e41065c2acb3464247b1a
      https://github.com/dovecot/core/commit/e82efb347c91c199218e41065c2acb3464247b1a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M src/lib-imap-client/imapc-client.c
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: If we get disconnected during SELECT/EXAMINE, retry it once.

This seems to be happening especially with dsync migrations from IMAP
servers with small timeouts. The initial dsync run opens imapc connection
early to do a LIST + SELECT the first mailbox, but then dsync may spend a
while creating all the local mailboxes before it continues using the imapc
connection.




More information about the dovecot-cvs mailing list