aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/imap/camel-imap-folder.c7
2 files changed, 9 insertions, 2 deletions
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 <fejj@ximian.com>
+ * 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)))