[dovecot/core] bde40a: dsync: race condition where done/finish is receive...

GitHub noreply at github.com
Tue May 24 22:07:57 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: bde40af690a254a5e2e00d655bd85bbb5df40fb9
      https://github.com/dovecot/core/commit/bde40af690a254a5e2e00d655bd85bbb5df40fb9
  Author: J. Nick Koston <nick at cpanel.net>
  Date:   2016-05-25 (Wed, 25 May 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-ibc-stream.c

  Log Message:
  -----------
  dsync: race condition where done/finish is received after one side has closed

We do not tell the remote we are closing if they have
already told us because they close the
connection after sending ITEM_FINISH or ITEM_DONE and will
not be ever receive anything else from us unless
it just happens to get combined into the same packet
as a previous response and is already in the buffer.




More information about the dovecot-cvs mailing list