diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 7 |
1 files changed, 5 insertions, 2 deletions
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))) |