dovecot-2.2: imap-login: Added "x-session-ext-id" parameter for ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Oct 30 01:34:50 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/865456b37bc2
changeset: 18044:865456b37bc2
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Oct 29 18:33:46 2014 -0700
description:
imap-login: Added "x-session-ext-id" parameter for ID command.
It's exactly the same as "x-session-id", but this one can be safely used by
external software without having to worry about causing error messages in
older versions about too long session-id.

diffstat:

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

diffs (13 lines):

diff -r fbc969e1543b -r 865456b37bc2 src/imap-login/client.c
--- a/src/imap-login/client.c	Wed Oct 29 18:32:36 2014 -0700
+++ b/src/imap-login/client.c	Wed Oct 29 18:33:46 2014 -0700
@@ -158,6 +158,9 @@
 	else if (strcasecmp(key, "x-session-id") == 0) {
 		client->common.session_id =
 			p_strdup(client->common.pool, value);
+	} else if (strcasecmp(key, "x-session-ext-id") == 0) {
+		client->common.session_id =
+			p_strdup(client->common.pool, value);
 	}
 }
 


More information about the dovecot-cvs mailing list