dovecot-2.2: dsync: Fixed notifying replicator (-U parameter) if...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 28 03:47:01 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/8a91b47d5a46
changeset: 18035:8a91b47d5a46
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 28 05:45:59 2014 +0200
description:
dsync: Fixed notifying replicator (-U parameter) if it didn't answer instantly.
diffstat:
src/doveadm/doveadm-dsync.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 39e2455a5e2d -r 8a91b47d5a46 src/doveadm/doveadm-dsync.c
--- a/src/doveadm/doveadm-dsync.c Mon Oct 27 23:29:39 2014 +0200
+++ b/src/doveadm/doveadm-dsync.c Tue Oct 28 05:45:59 2014 +0200
@@ -500,6 +500,8 @@
i_error("net_connect_unix(%s) failed: %m", path);
return;
}
+ fd_set_nonblock(fd, FALSE);
+
str = t_str_new(128);
str_append(str, REPLICATOR_HANDSHAKE"NOTIFY\t");
str_append_tabescaped(str, ctx->ctx.cur_mail_user->username);
More information about the dovecot-cvs
mailing list