dovecot-2.0: imap: After logging in, send CAPABILITY and tagged ...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jun 1 19:38:03 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/8ecbc7fefeb2
changeset: 9426:8ecbc7fefeb2
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 01 12:37:58 2009 -0400
description:
imap: After logging in, send CAPABILITY and tagged OK in the same IP packet.
diffstat:
1 file changed, 2 insertions(+)
src/imap/main.c | 2 ++
diffs (15 lines):
diff -r 810e36796e3d -r 8ecbc7fefeb2 src/imap/main.c
--- a/src/imap/main.c Mon Jun 01 01:11:17 2009 -0400
+++ b/src/imap/main.c Mon Jun 01 12:37:58 2009 -0400
@@ -108,9 +108,11 @@ static void client_add_input(struct clie
} else if (send_untagged_capability) {
/* client doesn't seem to understand tagged capabilities. send
untagged instead and hope that it works. */
+ o_stream_cork(client->output);
client_send_line(client, t_strconcat("* CAPABILITY ",
str_c(client->capability_string), NULL));
client_send_line(client, t_strconcat(tag, " Logged in", NULL));
+ o_stream_uncork(client->output);
} else {
client_send_line(client, t_strconcat(
tag, " OK [CAPABILITY ",
More information about the dovecot-cvs
mailing list