[dovecot-cvs] dovecot/src/pop3 client.c,1.50,1.51

cras at dovecot.org cras at dovecot.org
Fri Apr 29 14:42:41 EEST 2005


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv3863

Modified Files:
	client.c 
Log Message:
Connection could have gotten stuck sometimes, doing nothing until idle
timeout happens.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- client.c	26 Apr 2005 10:43:57 -0000	1.50
+++ client.c	29 Apr 2005 11:42:38 -0000	1.51
@@ -243,6 +243,12 @@
 				   our output */
 				io_remove(client->io);
 				client->io = NULL;
+
+				/* If someone happens to flush output,
+				   we want to get our IO handler back in
+				   flush callback */
+				o_stream_set_flush_pending(client->output,
+							   TRUE);
 			}
 		}
 	}



More information about the dovecot-cvs mailing list