dovecot-2.2: connection API: Don't do error handling by default ...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 8 23:57:37 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/6d626fcbde9e
changeset: 14750:6d626fcbde9e
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 08 23:57:29 2012 +0300
description:
connection API: Don't do error handling by default on output stream.
For connections the error handling is almost never wanted.
diffstat:
src/lib/connection.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 06e98529eac8 -r 6d626fcbde9e src/lib/connection.c
--- a/src/lib/connection.c Wed Aug 08 23:46:48 2012 +0300
+++ b/src/lib/connection.c Wed Aug 08 23:57:29 2012 +0300
@@ -120,6 +120,7 @@
if (set->output_max_size != 0) {
conn->output = o_stream_create_fd(conn->fd_out,
set->output_max_size, FALSE);
+ o_stream_set_no_error_handling(conn->output, TRUE);
}
conn->io = io_add(conn->fd_in, IO_READ, conn->list->v.input, conn);
if (set->input_idle_timeout_secs != 0) {
More information about the dovecot-cvs
mailing list