[dovecot/core] d35da3: imapc: Use LOGOUT to cleanly disconnect from serve...

GitHub noreply at github.com
Sun Mar 19 16:30:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d35da39e688b94bb7e9adc6c865a45004c64a506
      https://github.com/dovecot/core/commit/d35da39e688b94bb7e9adc6c865a45004c64a506
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-03-19 (Sun, 19 Mar 2017)

  Changed paths:
    M src/lib-imap-client/imapc-client-private.h
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-client.h
    M src/lib-imap-client/imapc-connection.c
    M src/lib-imap-client/imapc-connection.h
    M src/lib-storage/index/imapc/imapc-list.c
    M src/lib-storage/index/imapc/imapc-storage.c

  Log Message:
  -----------
  imapc: Use LOGOUT to cleanly disconnect from server.

This makes it clearer in the remote server's logs whether the disconnection
was intentional or not.

Use a hardcoded 5 second timeout for LOGOUT. It should be enough time for
the server to finish sending the tagged reply.




More information about the dovecot-cvs mailing list