aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-11 13:19:13 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-11 13:19:13 +0800
commit418861fcdce959213575bd45f27c12c1b075c3ca (patch)
tree61511af8c68aa28815475cb45a98a9e67f908187
parent0dd1662b86af2613fb2f672f3f8a3fa2302732e5 (diff)
downloadgsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar.gz
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar.bz2
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar.lz
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar.xz
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.tar.zst
gsoc2013-evolution-418861fcdce959213575bd45f27c12c1b075c3ca.zip
Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight where
2002-04-11 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-folder.c: Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight where apparently the IMAP server changed the UIDVALIDITY and so Evo needed to re-fetch all headers and it was trying to send a uid set of some 25k (yes, I have a very large INBOX). Anyways, it was set to unlimited before. Courier IMAPd can safely handle up to ~16k per token, but UW IMAPd can only handle 8k per command-line, so I set it to 4k just to be safe. svn path=/trunk/; revision=16436
-rw-r--r--camel/ChangeLog11
-rw-r--r--camel/providers/imap/camel-imap-folder.c4
2 files changed, 14 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index de92871e4d..75af583835 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,14 @@
+2002-04-11 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/imap/camel-imap-folder.c: Set the UID_SET_LIMIT value
+ to 4096. I ran into an issue tonight where apparently the IMAP
+ server changed the UIDVALIDITY and so Evo needed to re-fetch all
+ headers and it was trying to send a uid set of some 25k (yes, I
+ have a very large INBOX). Anyways, it was set to unlimited
+ before. Courier IMAPd can safely handle up to ~16k per token, but
+ UW IMAPd can only handle 8k per command-line, so I set it to 4k
+ just to be safe.
+
2002-04-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-part-utils.c (convert_buffer): Fixed a bug that would
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index eb1fcd8be5..a2931e3d8a 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -64,7 +64,9 @@
#include "camel-stream.h"
#include "string-utils.h"
-#define UID_SET_LIMIT (-1)
+
+/* set to -1 for infinite size */
+#define UID_SET_LIMIT (4096)
#define CF_CLASS(o) (CAMEL_FOLDER_CLASS (CAMEL_OBJECT_GET_CLASS(o)))