dovecot-1.2: imap proxy: Don't log "unexpected input" errors abo...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 30 19:27:35 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/5053bfd20001
changeset: 9401:5053bfd20001
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 30 12:27:28 2009 -0400
description:
imap proxy: Don't log "unexpected input" errors about tagged CAPABILITY replies.
diffstat:
1 file changed, 3 insertions(+)
src/imap-login/imap-proxy.c | 3 +++
diffs (13 lines):
diff -r 1fb19e1c84f5 -r 5053bfd20001 src/imap-login/imap-proxy.c
--- a/src/imap-login/imap-proxy.c Wed Sep 30 11:08:18 2009 -0400
+++ b/src/imap-login/imap-proxy.c Wed Sep 30 12:27:28 2009 -0400
@@ -352,6 +352,9 @@ static int proxy_input_line(struct imap_
i_free(client->proxy_backend_capability);
client->proxy_backend_capability = i_strdup(line + 13);
return 0;
+ } else if (strncmp(line, "C ", 2) == 0) {
+ /* Reply to CAPABILITY command we sent, ignore it */
+ return 0;
} else if (strncasecmp(line, "I ", 2) == 0 ||
strncasecmp(line, "* ID ", 5) == 0) {
/* Reply to ID command we sent, ignore it */
More information about the dovecot-cvs
mailing list