dovecot-2.2: login-proxy: If login fails with timeout, log what ...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 14 14:02:43 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/8a0abbf545ce
changeset: 16345:8a0abbf545ce
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 14 14:02:36 2013 +0300
description:
login-proxy: If login fails with timeout, log what the proxying state was.

diffstat:

 src/login-common/login-proxy.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r cda830ebf6ee -r 8a0abbf545ce src/login-common/login-proxy.c
--- a/src/login-common/login-proxy.c	Tue May 14 14:00:21 2013 +0300
+++ b/src/login-common/login-proxy.c	Tue May 14 14:02:36 2013 +0300
@@ -208,8 +208,9 @@
 		str_printfa(str, "connect(%s, %u) failed: %m",
 			    proxy->host, proxy->port);
 	} else {
-		str_printfa(str, "Login for %s:%u timed out",
-			    proxy->host, proxy->port);
+		str_printfa(str, "Login for %s:%u timed out in state=%u",
+			    proxy->host, proxy->port,
+			    proxy->client->proxy_state);
 	}
 	str_printfa(str, " (after %u secs",
 		    (unsigned int)(ioloop_time - proxy->created.tv_sec));


More information about the dovecot-cvs mailing list