From 418861fcdce959213575bd45f27c12c1b075c3ca Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 11 Apr 2002 05:19:13 +0000 Subject: Set the UID_SET_LIMIT value to 4096. I ran into an issue tonight where 2002-04-11 Jeffrey Stedfast * 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 --- camel/ChangeLog | 11 +++++++++++ camel/providers/imap/camel-imap-folder.c | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) 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 + + * 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 * 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))) -- cgit v1.2.3