imclient >4k literal error

Patrick Welche prlw1 at newn.cam.ac.uk
Wed Apr 2 11:57:31 EST 2003


When libcyrus reads a server response, it does so in 4k (4067)
chunks. If I read a message which is greater than 4k, it is
be truncated, eg {96091} gives me a 96050 long reply->text, the
beginning of the reply looking like:

FETCH (FLAGS (\\Seen) INTERNALDATE \"24-Feb-2003 12:45:17 +0000\" BODY[] {96091}\r\nReturn-Pat

It seems that imclient->replyliteralleft decreases too rapidly, or maybe the
first line is included in the literal byte count? I think I'm looking for an
out by 2 error in imclient_input(), but have any of you seen this? Anyone
use libcyrus to read email?

Cheers,

Patrick




More information about the Info-cyrus mailing list