its because the guys code is a little problematic with big string.
changing the line 100 & 101:
response = text.split("<end />");
response = response[response.length-1];
to:
response = text.substring(text.lastIndexOf('<end />'));
helps A LOT on this.
--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interface
On Sat, Oct 3, 2009 at 12:31 PM, Piotr Zalewa <[email protected]> wrote:
> Just a comment there (benhutchins implementation).
>
> <cite>After keeping the same connection open it will easily start using
> massive amounts of CPU for both a server and a web browser.</cite>
>
> I tried that and it becomes unusable very quickly.
>
> Piotr
> --
> London, UK
>