Mercurial > dovecot > original-hg > dovecot-1.2
changeset 3372:7e046c4cba1f HEAD
Fixed output getting stuck when transmit buffer was full.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 May 2005 16:11:17 +0300 |
parents | 4bb8af354951 |
children | 690dcc51cdc1 |
files | src/pop3/client.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3/client.c Wed May 11 00:36:05 2005 +0300 +++ b/src/pop3/client.c Fri May 13 16:11:17 2005 +0300 @@ -345,8 +345,11 @@ client->last_output = ioloop_time; o_stream_cork(client->output); - if (client->cmd != NULL) + if (client->cmd != NULL) { client->cmd(client); + if (client->cmd != NULL) + o_stream_set_flush_pending(client->output, TRUE); + } o_stream_uncork(client->output); if (o_stream_get_buffer_used_size(client->output) <