aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-28 23:20:46 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-28 23:20:46 +0800
commit518c1cc2fd6d3e7255bc498e4ca67872b7370c4f (patch)
tree1414d14abbdfe0abd1a8b027f9c2c3e4a2a018bb /camel
parenta8897a5c96e43506e6154659a7ca9e59607a65d7 (diff)
downloadgsoc2013-evolution-518c1cc2fd6d3e7255bc498e4ca67872b7370c4f.tar.gz
gsoc2013-evolution-518c1cc2fd6d3e7255bc498e4ca67872b7370c4f.tar.zst
gsoc2013-evolution-518c1cc2fd6d3e7255bc498e4ca67872b7370c4f.zip
Change the UID_SET_LIMIT to 768 (something <1000 octets as suggested by
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. svn path=/trunk/; revision=25665
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)))