dovecot-1.1: uncork stream only after syncing to avoid extra wri...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Mar 5 02:54:36 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/4f63124e756e
changeset: 7352:4f63124e756e
user: Timo Sirainen <tss at iki.fi>
date: Wed Mar 05 02:53:05 2008 +0200
description:
uncork stream only after syncing to avoid extra writes.
diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
src/imap/client.c | 6 +++---
diffs (23 lines):
diff -r 6115fe69094c -r 4f63124e756e src/imap/client.c
--- a/src/imap/client.c Wed Mar 05 02:17:52 2008 +0200
+++ b/src/imap/client.c Wed Mar 05 02:53:05 2008 +0200
@@ -763,16 +763,16 @@ int client_output(struct client *client)
break;
}
}
- o_stream_uncork(client->output);
if (client->output->closed) {
client_destroy(client, NULL);
return 1;
} else {
(void)cmd_sync_delayed(client);
+ o_stream_uncork(client->output);
client_continue_pending_input(&client);
- }
- return ret;
+ return ret;
+ }
}
void clients_init(void)
More information about the dovecot-cvs
mailing list