From: Timo Sirainen Date: Wed, 29 Oct 2014 18:46:50 +0000 (-0700) Subject: lib: connection_switch_ioloop() should switch also input stream's ioloop. X-Git-Tag: 2.2.16.rc1~264 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=959eca738ab09d2760fd96ba329263fe589f84b0;p=thirdparty%2Fdovecot%2Fcore.git lib: connection_switch_ioloop() should switch also input stream's ioloop. --- diff --git a/src/lib/connection.c b/src/lib/connection.c index 0cc4d55bdf..5769b4a5b1 100644 --- a/src/lib/connection.c +++ b/src/lib/connection.c @@ -360,6 +360,8 @@ void connection_switch_ioloop(struct connection *conn) 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); }