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
This commit is contained in:
Jeffrey Stedfast
2002-04-11 05:19:13 +00:00
committed by Jeffrey Stedfast
parent 0dd1662b86
commit 418861fcdc
2 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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)))