[dovecot/core] 759a60: imap: Finish all commands before starting IDLE.

GitHub noreply at github.com
Mon Jan 25 15:40:08 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 759a60c896270a74ef4a94ad348fe3722f183608
      https://github.com/dovecot/core/commit/759a60c896270a74ef4a94ad348fe3722f183608
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-01-25 (Mon, 25 Jan 2016)

  Changed paths:
    M src/imap/imap-commands.c

  Log Message:
  -----------
  imap: Finish all commands before starting IDLE.

We don't want to send tagged command replies only after the DONE. Also this
fixes assert-crash:

Panic: file imap-client.c: line 852 (client_check_command_hangs): assertion
failed: (!have_wait_unfinished || unfinished_count > 0)

Which could be reproduced by:

printf "0 SELECT INBOX\n1 NOOP\n2 IDLE\n"; read; printf "DONE\n"; read) | ./imap




More information about the dovecot-cvs mailing list