Mercurial > dovecot > core-2.2
diff src/doveadm/dsync/dsync-ibc-stream.c @ 17777:647162da8423
dsync: Reset I/O timeout every time when receiving input.
This could have caused unwanted I/O timeouts when receiving large mails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 10 Sep 2014 13:59:31 +0300 |
parents | de20b4fa60ac |
children | d2e1b3f6d13b |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-ibc-stream.c Tue Sep 09 17:26:52 2014 -0600 +++ b/src/doveadm/dsync/dsync-ibc-stream.c Wed Sep 10 13:59:31 2014 +0300 @@ -190,6 +190,7 @@ static void dsync_ibc_stream_input(struct dsync_ibc_stream *ibc) { + timeout_reset(ibc->to); if (ibc->value_input != NULL) { if (dsync_ibc_stream_read_mail_stream(ibc) == 0) return;