[dovecot-cvs] dovecot/src/imap common.h, 1.20,
1.21 imap-fetch-body.c, 1.20, 1.21 main.c, 1.62, 1.63
cras at dovecot.org
cras at dovecot.org
Sun Apr 3 01:44:08 EEST 2005
Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv19051/src/imap
Modified Files:
common.h imap-fetch-body.c main.c
Log Message:
Removed tb-negative-fetch workaround. It shouldn't be needed anymore because
of the FETCH ordering changes.
Index: common.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/common.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- common.h 15 Mar 2005 19:01:51 -0000 1.20
+++ common.h 2 Apr 2005 22:44:06 -0000 1.21
@@ -26,8 +26,7 @@
enum client_workarounds {
WORKAROUND_DELAY_NEWMAIL = 0x01,
WORKAROUND_OUTLOOK_IDLE = 0x02,
- WORKAROUND_NETSCAPE_EOH = 0x04,
- WORKAROUND_TB_NEGATIVE_FETCH = 0x08
+ WORKAROUND_NETSCAPE_EOH = 0x04
};
extern struct ioloop *ioloop;
Index: imap-fetch-body.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/imap-fetch-body.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- imap-fetch-body.c 2 Apr 2005 17:37:03 -0000 1.20
+++ imap-fetch-body.c 2 Apr 2005 22:44:06 -0000 1.21
@@ -798,14 +798,6 @@
if (*p == '.') {
p++;
- if (*p == '-' && (client_workarounds &
- WORKAROUND_TB_NEGATIVE_FETCH) != 0) {
- /* Thunderbird messed up some calculations
- and wants to read the message past it's
- end. The fetch returns empty result anyway,
- so just ignore '-'. */
- p++;
- }
if (!read_uoff_t(&p, &body->max_size) ||
body->max_size > OFF_T_MAX) {
/* wrapped */
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/main.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- main.c 15 Mar 2005 19:01:51 -0000 1.62
+++ main.c 2 Apr 2005 22:44:06 -0000 1.63
@@ -32,7 +32,6 @@
{ "delay-newmail", WORKAROUND_DELAY_NEWMAIL },
{ "outlook-idle", WORKAROUND_OUTLOOK_IDLE },
{ "netscape-eoh", WORKAROUND_NETSCAPE_EOH },
- { "tb-negative-fetch", WORKAROUND_TB_NEGATIVE_FETCH },
{ NULL, 0 }
};
More information about the dovecot-cvs
mailing list