Commit 6c37db0f 6c37db0fb7827dfd0d3141661097ed3d6b016c13 by Sergey Poznyakoff

force ofile to be line-buffered, so command

  continuation requests are immediately visible.
1 parent 02cde26e
......@@ -192,6 +192,8 @@ imap4d_mainloop (int infile, int outfile)
if (!ofile || !ifile)
imap4d_bye (ERR_NO_OFILE);
setvbuf(ofile, NULL, _IOLBF, 0);
syslog (LOG_INFO, "Incoming connection opened");
/* log information on the connecting client */
......