dovecot-2.1: imap: Set [io]stream name for imap client connections.

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 4 16:10:58 EET 2013


details:   http://hg.dovecot.org/dovecot-2.1/rev/23fb615c3628
changeset: 14895:23fb615c3628
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 04 16:03:54 2013 +0200
description:
imap: Set [io]stream name for imap client connections.

diffstat:

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

diffs (12 lines):

diff -r eb117a619075 -r 23fb615c3628 src/imap/imap-client.c
--- a/src/imap/imap-client.c	Mon Feb 04 15:59:50 2013 +0200
+++ b/src/imap/imap-client.c	Mon Feb 04 16:03:54 2013 +0200
@@ -56,6 +56,8 @@
 	client->input = i_stream_create_fd(fd_in,
 					   set->imap_max_line_length, FALSE);
 	client->output = o_stream_create_fd(fd_out, (size_t)-1, FALSE);
+	i_stream_set_name(client->input, "<imap client>");
+	o_stream_set_name(client->output, "<imap client>");
 
 	o_stream_set_flush_callback(client->output, client_output, client);
 


More information about the dovecot-cvs mailing list