← Back to team overview

launchpad-dev team mailing list archive

Re: disabling longpoll

 

On 22 February 2012 18:54, Stuart Bishop <stuart.bishop@xxxxxxxxxxxxx> wrote:
>
>>> > You don't need to ask the server anything. The server just has to
>>> > return an appropriate error code if there are too many connections.
>>> > The client can try again in several seconds. This is the simplest fix.
>>> > We already have a cookie that can be used to identify a browser at the
>>> > server end.

If the client is going through a proxy, the browser may in effect have
a global limit of maybe 6 connections.

Perhaps it's enough to just say only 2 longpoll connections per
session cookie, and make the client robustly go back to polling when
it's refused.

-- 
Martin


References