From 518c1cc2fd6d3e7255bc498e4ca67872b7370c4f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 28 Apr 2004 15:20:46 +0000 Subject: Change the UID_SET_LIMIT to 768 (something <1000 octets as suggested by 2004-04-28 Jeffrey Stedfast * providers/imap/camel-imap-folder.c: Change the UID_SET_LIMIT to 768 (something <1000 octets as suggested by rfc2683). Fixes bug #57389. svn path=/trunk/; revision=25665 --- camel/ChangeLog | 4 ++++ camel/providers/imap/camel-imap-folder.c | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 21013e7b34..0fe283682a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2004-04-28 Jeffrey Stedfast + * providers/imap/camel-imap-folder.c: Change the UID_SET_LIMIT to + 768 (something <1000 octets as suggested by rfc2683). Fixes bug + #57389. + * camel-smime-context.c: Mark exception strings for translation and fixed a spelling mistake. diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 38a4c38808..b1c6e2c341 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -73,8 +73,11 @@ #define d(x) x -/* set to -1 for infinite size */ -#define UID_SET_LIMIT (4096) +/* set to -1 for infinite size (suggested max command-line length is + * 1000 octets (see rfc2683), so we should keep the uid-set length to + * something under that so that our command-lines don't exceed 1000 + * octets) */ +#define UID_SET_LIMIT (768) #define CF_CLASS(o) (CAMEL_FOLDER_CLASS (CAMEL_OBJECT_GET_CLASS(o))) -- cgit