dovecot-2.2: connection: Give input/output streams a name.

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 5 14:32:14 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/194ec0e10f3a
changeset: 15998:194ec0e10f3a
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 05 14:31:43 2013 +0200
description:
connection: Give input/output streams a name.

diffstat:

 src/lib/connection.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 310c5ce38ef3 -r 194ec0e10f3a src/lib/connection.c
--- a/src/lib/connection.c	Tue Mar 05 14:31:29 2013 +0200
+++ b/src/lib/connection.c	Tue Mar 05 14:31:43 2013 +0200
@@ -116,11 +116,13 @@
 	if (set->input_max_size != 0) {
 		conn->input = i_stream_create_fd(conn->fd_in,
 						 set->input_max_size, FALSE);
+		i_stream_set_name(conn->input, conn->name);
 	}
 	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);
+		o_stream_set_name(conn->output, conn->name);
 	}
 	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