dovecot-2.2: imap: SETMETADATA didn't set ostream output handler...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Nov 27 11:06:10 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/db90e76f44dc
changeset: 19420:db90e76f44dc
user: Timo Sirainen <tss at iki.fi>
date: Fri Nov 27 13:06:01 2015 +0200
description:
imap: SETMETADATA didn't set ostream output handler back
This caused hangs afterwards when receiving long replies (e.g. FETCH).
diffstat:
src/imap/cmd-setmetadata.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 66a04329b5e9 -r db90e76f44dc src/imap/cmd-setmetadata.c
--- a/src/imap/cmd-setmetadata.c Thu Nov 26 15:42:35 2015 +0200
+++ b/src/imap/cmd-setmetadata.c Fri Nov 27 13:06:01 2015 +0200
@@ -27,6 +27,9 @@
static void cmd_setmetadata_deinit(struct imap_setmetadata_context *ctx)
{
+ o_stream_set_flush_callback(ctx->cmd->client->output,
+ client_output, ctx->cmd->client);
+
ctx->cmd->client->input_lock = NULL;
imap_parser_unref(&ctx->parser);
if (ctx->trans != NULL)
More information about the dovecot-cvs
mailing list