Johan Euphrosine wrote:
> After applying the following patch:
> http://jpoker.aminche.com/test.patch.txt
>
> I get the following error:
> http://jpoker.aminche.com/test.log
>
> Note: I've already regenerated and installed poker-network package
> from trunk and it doesn't help.
>
> Can someone else reproduce this issue ?
> Am I doing something wrong ?
>
> Thanks in advance.
>   
A quick look tells me that the source of the troubles is probably 
because you're not waiting
for the d = self.client_factory[index].established_deferred the way it's 
done on test-pokeravatar.py.in
or in your setUpClient method. The purpose of established_deferred, IIRC 
is not only to allow you to hook and
setup things before exchanging packets. It's also to make sure you're 
not trying to use the connection
before it's properly setup. My hunch is that you're sending bytes even 
before the first reactor iteration
occurs and before the CGI000.021 bootstrap bytes are sent to initiate 
handshake.

Let me know if this helps. If it does not I'll take a closer look.

Cheers



_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to