dovecot-2.2: lib: connection_switch_ioloop() should switch also ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Oct 29 18:47:52 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/f21d7614ac0d
changeset: 18042:f21d7614ac0d
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 29 11:46:50 2014 -0700
description:
lib: connection_switch_ioloop() should switch also input stream's ioloop.

diffstat:

 src/lib/connection.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r 297192cfbd37 -r f21d7614ac0d src/lib/connection.c
--- a/src/lib/connection.c	Wed Oct 29 09:58:01 2014 -0700
+++ b/src/lib/connection.c	Wed Oct 29 11:46:50 2014 -0700
@@ -360,6 +360,8 @@
 		conn->io = io_loop_move_io(&conn->io);
 	if (conn->to != NULL)
 		conn->to = io_loop_move_timeout(&conn->to);
+	if (conn->input != NULL)
+		i_stream_switch_ioloop(conn->input);
 	if (conn->output != NULL)
 		o_stream_switch_ioloop(conn->output);
 }


More information about the dovecot-cvs mailing list