]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
dsync: race condition where done/finish is received after one side has closed
authorJ. Nick Koston <nick@cpanel.net>
Fri, 20 May 2016 00:15:49 +0000 (19:15 -0500)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 24 May 2016 22:07:00 +0000 (01:07 +0300)
commit9f2f22889a772be83bf7106df124f9262237e425
tree2a65764647fcf9c508205058d689ae96e6ba7106
parent838c70b2a1f10300b6e1b1e741d0330b2259fa05
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.
src/doveadm/dsync/dsync-ibc-stream.c