[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Unsolvable problem with pop3 kioslave.
From:       Waldo Bastian <bastian () suse ! de>
Date:       1999-12-24 12:56:44
[Download RAW message or body]

On Fri, 24 Dec 1999, Don Sanders wrote:
> On Fri, 24 Dec 1999, Dawit Alemayehu wrote:
> > Anyway, can you test out the patch below to see if it fixes this
> > problem and does not cause another(it should not but who knows) ? 
> > It sets a MAX_TIMESOUTS_ALLOWED value and checks against it in the
> > loop to make sure that it does not loop forever ...
>
> Thanks for the code. I agree that the while loop should terminate
> after not receiving a response after a set amount of time.
>
> The thing that I can't figure out is why command responses are not
> being received when using the kioslaves but are being received when
> using mimelib.

The while-loop with select is incorrect. Select modifies the fd_set's 
so you should fill these sets in each time select is called.

I have patched this in CVS, if you can test it?

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic