tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss]Corrupted TOP response with PIPELINING and tpop3d 1.


From: Martin Blapp
Subject: Re: [tpop3d-discuss]Corrupted TOP response with PIPELINING and tpop3d 1.5.3
Date: Wed, 2 Feb 2005 22:19:01 +0100 (CET)

Hi,

> oh -- the test mailbox only had about 500 mails in it.

500 Mails are still ok, you need at least 1500 mails to
trigger the bug.

> -    *len = B->len - B->put;
> +
> +    if (B->put >= B->get) {
> +        *len = B->len - B->put;
> +        if (B->get == 0)
> +            --*len;
> +    } else if (B->put < B->get) {
> +        *len = B->get - B->put - 1;
> +    }
> +
>      return B->buf + B->put;
>  }

Yep - seems to work - I don't see the truncation anymore,
but something does still not work. Maybe I'm running into
a timeout.

Martin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]