details: http://hg.dovecot.org/dovecot/rev/58cb2c6f90c... changeset: 7142:58cb2c6f90c7 user: Timo Sirainen date: Thu Jan 10 14:15:49 2008 +0200 description: "Disconnected for inactivity in reading our output" happened after a command had already finished. diffstat: 1 file changed, 2 insertions(+) src/imap/client.c | 2 ++ diffs (12 lines): diff -r ead08ca27435 -r 58cb2c6f90c7 src/imap/client.c --- a/src/imap/client.c Thu Jan 10 05:11:09 2008 +0200 +++ b/src/imap/client.c Thu Jan 10 14:15:49 2008 +0200 @@ -442,6 +442,8 @@ void client_command_free(struct client_c if (client->command_queue == NULL) { /* no commands left in the queue, we can clear the pool */ p_clear(client->command_pool); + if (client->to_idle_output != NULL) + timeout_remove(&client->to_idle_output); } }