launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #09012
Re: disabling longpoll
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.lacoste@xxxxxxxxxxxxx
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References