-2008-08-25 00:16 -0700 Brendan Cully <brendan@kublai.com> (53d9210aa4ee)
+2008-08-26 02:07 -0700 Brendan Cully <brendan@kublai.com> (22498996719f)
+
+ * imap/imap.c: Remove leftover IMAP IDLE handling from before
+ [53d9210aa4ee].
+
+2008-08-25 00:52 -0700 Brendan Cully <brendan@kublai.com> (36aa1130091a)
+
+ * UPDATING, globals.h, imap/command.c, imap/imap.c,
+ imap/imap_private.h, imap/util.c, init.c, init.h: Introduce
+ $imap_pipeline_depth. This lets users control the number of
+ commands that mutt will queue up before sending them to the
+ server. Setting this to 0 disables pipelining, which should close
+ #2892.
* imap/command.c, imap/imap.c, imap/imap_private.h, imap/message.c:
Rework IMAP command queueing to allow pipelining to be disabled.
/*
* Copyright (C) 1996-8 Michael R. Elkins <me@mutt.org>
* Copyright (C) 1996-9 Brandon Long <blong@fiction.net>
- * Copyright (C) 1999-2005 Brendan Cully <brendan@kublai.com>
+ * Copyright (C) 1999-2008 Brendan Cully <brendan@kublai.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
/* Defaults */
- mx->account.flags = 0;
+ memset(&mx->account, 0, sizeof(mx->account));
mx->account.port = ImapPort;
mx->account.type = M_ACCT_TYPE_IMAP;
/*
- * Copyright (C) 2000-7 Brendan Cully <brendan@kublai.com>
+ * Copyright (C) 2000-8 Brendan Cully <brendan@kublai.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
mutt_error (_("Error setting SASL external security strength"));
return -1;
}
+ }
+ if (conn->account.user[0])
+ {
dprint (2, (debugfile, "External authentication name: %s\n", conn->account.user));
if (sasl_setprop (*saslconn, SASL_AUTH_EXTERNAL, conn->account.user) != SASL_OK)
{
SSL_CTX_set_default_passwd_cb(ssldata->ctx, ssl_passwd_cb);
SSL_CTX_use_certificate_file(ssldata->ctx, SslClientCert, SSL_FILETYPE_PEM);
SSL_CTX_use_PrivateKey_file(ssldata->ctx, SslClientCert, SSL_FILETYPE_PEM);
+
+ /* if we are using a client cert, SASL may expect an external auth name */
+ mutt_account_getuser (&conn->account);
}
}
if ((cnend = strstr (dn, ",EMAIL=")))
*cnend = '\0';
- dprint (2, (debugfile, "client CN: %s\n", cn));
+ /* if we are using a client cert, SASL may expect an external auth name */
+ mutt_account_getuser (&conn->account);
err_dn:
FREE (&dn);