[Verse-dev] Client gets dropped, even if it's updating its callbacks (PyVerse)

Emil Brink emil at obsession.se
Wed Jan 12 08:34:58 CET 2005


On Tue, 11 Jan 2005 21:34:58 -0600
Sam Jenkins <xyldazh7 at gmx.net> wrote:

> Hi,
> 
>   There is an example from a strange behaviour that i don't understand. 
> I update callbacks, but the Verse server disconnects me with a timeout 
> anyway... It's written on PyVerse.
> 
>   Maybe it has to do with the fact that I don't subscribe to anything?

I was expecting a post from Brecht on this subject; he found the problem
after you had logged off from IRC yesterday.

Yes, the root cause is that you don't "do" anything with your connection,
this is a known problem that I've run into myself but my brain was lagging
so I didn't recognize it in your code. Brecht did.

Note that to make it work, you don't have to keep doing things, I think
it is enough that you send _one_ actual command after accepting the conn-
ection for it to start working. Feels very much like a "being caught in
the wrong state" bug to me.

I know I have reported this issue to Eskil previously, but am not sure
what his response was then. Eskil?

Regards,

/Emil


More information about the Verse-dev mailing list