Re: [evolution-patches] fix for "Error: Success" with imap



someone on IRC posted a subsection of an strace that I took a look at.

whatever IMAP server he was using, we sent STATUS <mailbox> (...)\r\n,
got a successful write, then tried to read and got:

read (36, "", 1024) == 0
fcntl64...
close (36) == 0

Jeff

On Thu, 2004-10-14 at 20:35, Not Zed wrote:
> Hmm, do you have some test data or something that demonstrates this?
> 
> I'm concerned that if we're getting 0 reads when we shouldn't be, that
> something else is going on, and this is a very small bandaid on the
> problem.
> 
> Is the problem easily repeatable?
> 
> This patch can probably go in for now with a TODO comment about why
> it's there.
> 
> On Thu, 2004-10-14 at 13:29 -0400, Jeffrey Stedfast wrote: 
> > Seems the problem happens when we get a 0-byte read from the socket.
> > 
> > the attached patch fixes the error (or, at least, one of the places
> > where error:success can happen)
> > 
> > Jeff
> > 
> 




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