Closed GoogleCodeExporter closed 9 years ago
I'm running the demo.php with php cli.
Original comment by sakrame...@gmail.com
on 26 Mar 2012 at 1:03
I debug a little bit. I uncomment this line in websocket.server:
$this->debug("Socket selected");
Now I send text again and check the console. I see a lot of "Socket selected"
row for 4 seconds... then I see:
dispatchMessage
[ECHO] 2097152 bytes
for 3 seconds, then I see Socket selected messages for 1 seconds and then I see
the response in the client.html.
Interesting that these seconds are always the same. What's the problem? Thank
you.
Original comment by sakrame...@gmail.com
on 26 Mar 2012 at 2:53
Big messages (2MB is the demo) are indeed slow. Its a known issue, however when
using smaller messages you wont notice the delay. The slowdown is in the XOR
demasking in the protocol. I got mixed results when I tried to speed this
process up.
Original comment by ch...@devristo.com
on 30 Mar 2012 at 5:24
[deleted comment]
replace in client.html, line 48 by :
var msg = $('msg').value;
Original comment by Sylvain....@gmail.com
on 3 Apr 2012 at 12:40
Done and comitted :)
Original comment by ch...@devristo.com
on 21 May 2012 at 6:23
Original issue reported on code.google.com by
sakrame...@gmail.com
on 26 Mar 2012 at 1:02