dovecot-2.0: lmtp: Use new mail block sizes.

dovecot at dovecot.org dovecot at dovecot.org
Thu Aug 13 20:00:51 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/8a6d1d2db78c
changeset: 9780:8a6d1d2db78c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Aug 13 13:00:17 2009 -0400
description:
lmtp: Use new mail block sizes.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lmtp/commands.c |    3 ++-

diffs (13 lines):

diff -r 72b79f58ce1b -r 8a6d1d2db78c src/lmtp/commands.c
--- a/src/lmtp/commands.c	Thu Aug 13 12:46:28 2009 -0400
+++ b/src/lmtp/commands.c	Thu Aug 13 13:00:17 2009 -0400
@@ -285,7 +285,8 @@ static int client_open_raw_mail(struct c
 	if (client->state.mail_data_output != NULL) {
 		o_stream_unref(&client->state.mail_data_output);
 		input = i_stream_create_fd(client->state.mail_data_fd,
-					   MAIL_READ_BLOCK_SIZE, FALSE);
+					   MAIL_READ_FULL_BLOCK_SIZE, FALSE);
+		i_stream_set_init_buffer_size(input, MAIL_READ_FULL_BLOCK_SIZE);
 	} else {
 		input = i_stream_create_from_data(client->state.mail_data->data,
 						  client->state.mail_data->used);


More information about the dovecot-cvs mailing list