dovecot: Our input stream is blocking, mark it as such.

dovecot at dovecot.org dovecot at dovecot.org
Thu Nov 8 03:43:30 EET 2007


details:   http://hg.dovecot.org/dovecot/rev/5f30b309a79e
changeset: 6730:5f30b309a79e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Nov 08 03:43:26 2007 +0200
description:
Our input stream is blocking, mark it as such.

diffstat:

1 file changed, 1 insertion(+)
src/deliver/deliver.c |    1 +

diffs (11 lines):

diff -r f323da4ef459 -r 5f30b309a79e src/deliver/deliver.c
--- a/src/deliver/deliver.c	Thu Nov 08 03:40:55 2007 +0200
+++ b/src/deliver/deliver.c	Thu Nov 08 03:43:26 2007 +0200
@@ -518,6 +518,7 @@ create_mbox_stream(int fd, const char *e
 	*first_r = i_new(bool, 1);
 	**first_r = TRUE;
 	input = i_stream_create_fd(fd, 4096, FALSE);
+	input->blocking = TRUE;
 	input_filter =
 		i_stream_create_header_filter(input,
 					      HEADER_FILTER_EXCLUDE |


More information about the dovecot-cvs mailing list