Mercurial > dovecot > original-hg > dovecot-1.2
changeset 5669:c53d0698d56f HEAD
Use more corking
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 30 May 2007 16:59:41 +0300 |
parents | c981e66cc78e |
children | 2e1fed4f0138 |
files | src/imap/cmd-append.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-append.c Wed May 30 15:19:20 2007 +0300 +++ b/src/imap/cmd-append.c Wed May 30 16:59:41 2007 +0300 @@ -72,7 +72,9 @@ return; } + o_stream_cork(client->output); if (cmd->func(cmd)) { + o_stream_uncork(client->output); client_command_free(cmd); client_continue_pending_input(client); } @@ -342,6 +344,7 @@ o_stream_send(client->output, "+ OK\r\n", 6); o_stream_flush(client->output); o_stream_uncork(client->output); + o_stream_cork(client->output); } ctx->count++;