dovecot-2.2: lib-imap-client: When switching ioloops, do it also...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Jun 6 12:24:37 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/8f192f64fd98
changeset: 16472:8f192f64fd98
user: Timo Sirainen <tss at iki.fi>
date: Thu Jun 06 12:24:27 2013 +0300
description:
lib-imap-client: When switching ioloops, do it also for the DNS lookup.
diffstat:
src/lib-imap-client/imapc-connection.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 612a679aeb03 -r 8f192f64fd98 src/lib-imap-client/imapc-connection.c
--- a/src/lib-imap-client/imapc-connection.c Thu Jun 06 12:21:14 2013 +0300
+++ b/src/lib-imap-client/imapc-connection.c Thu Jun 06 12:24:27 2013 +0300
@@ -187,6 +187,8 @@
conn->to = io_loop_move_timeout(&conn->to);
if (conn->output != NULL)
o_stream_switch_ioloop(conn->output);
+ if (conn->dns_lookup != NULL)
+ dns_lookup_switch_ioloop(conn->dns_lookup);
if (conn->client->ioloop == NULL && conn->to_output != NULL) {
/* we're only once moving the to_output to the main ioloop,
More information about the dovecot-cvs
mailing list