-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>
> Hi,
>
> I added tests and modified your draft implementation, feel free to
> review the attached patch.
You want to get rid of :

+            print cursor._last_executed


please always use a self.message function or a recognizable prefix so
that chasing an unknown message is easy.

+        if packet.type == PACKET_POKER_LONG_POLL:
+            self.longpollDeferred()
+            return

These lines are not where they should be. The longpoll deferred must
be returned by handlepacketdeferred when this packet is received.
Otherwise the long poll client will get an immediate answer. We've
discussed this on IRC, you should be able to find the log by looking
for LONG_POLL.

The patch for pokerestclient is in another commit I assume. Could you
please post it separately ?

Cheers






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqmZxoACgkQ8dLMyEl6F20JTgCfQ2UKHLDixL72F124qdi1FxPW
oXgAn1JrA9wRucalMQSEXcUo9UK6BBq7
=3yjr
-----END PGP SIGNATURE-----

<<attachment: loic.vcf>>

_______________________________________________
Pokersource-users mailing list
Pokersource-users@gna.org
https://mail.gna.org/listinfo/pokersource-users

Reply via email to