On 12-02-18 05:35 PM, Cruz Bishop wrote:
> In this case, would it be possible for the client to check how many
> connections are unused (via, say, JavaScript) and disabling longpoll on
> new tabs if there's less than X connections left?
> 
The problem is that the JS security model doesn't let you introspect
that client-side. A possibility would be to ask the server how many
longpoll connections it has for the current client.

-- 
Francis J. Lacoste
francis.laco...@canonical.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : launchpad-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to