[dovecot-cvs] dovecot/src/pop3 client.c,1.51,1.52
cras at dovecot.org
cras at dovecot.org
Fri May 13 16:11:20 EEST 2005
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv11340
Modified Files:
client.c
Log Message:
Fixed output getting stuck when transmit buffer was full.
Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- client.c 29 Apr 2005 11:42:38 -0000 1.51
+++ client.c 13 May 2005 13:11:17 -0000 1.52
@@ -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) <
More information about the dovecot-cvs
mailing list