On Fri, 2009-07-10 at 09:21 +0200, Loic Dachary wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I gave some thoughts to the implementation of long polling ( > http://en.wikipedia.org/wiki/Push_technology#Long_polling ) client > side (jpoker & pok.me). At the moment, all XHR calls are queued in > such a way that request sent at T+1 won't be sent until the request > sent at T was acknowledged. If implementing long polling, the > PacketPoll packet must be an exception to this rule. If there is a > pending PacketPoll request, any other packet can be sent even if no > answer was received. > > Server side it means that when a packet is received, if there is a > pending PacketPoll it must return immediately, before the new packet > is handled. > > I've not really thought this thru. I think this is all we need to > implement long poll but I may have overlooked an important aspect of > the problem. > > I'd like to hear what you think :-) >
Hi, I think that this part of the BOSH specification: http://xmpp.org/extensions/xep-0124.html#technique Describe precisely the behavior you're looking for. -- Johan Euphrosine <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
