imclient >4k literal error

Rob Siemborski rjs3 at andrew.cmu.edu
Wed Apr 2 13:28:06 EST 2003


See Also:

http://bugzilla.andrew.cmu.edu/show_bug.cgi?id=333

In practice, not many applications use libcyrus for reading email, the
closest we generally see is for small things like cyradm.  So there hasn't
been pressure to fix it.

-Rob

On Wed, 2 Apr 2003, Patrick Welche wrote:

> 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
>
>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





More information about the Info-cyrus mailing list