disconnect/apache-websocket — Issue #8: Connection closed on Echo after a couple of seconds
Author: baberone
Created: 2012-02-08 22:30:44+00:00
State: open

Hi, I've been testing your apache-websocket library and it has been up and running very smoothly! Nice work!

Still I have a couple of questions: when testing the echo exemple I noticed that the connection is closed after a couple of seconds (seems like around 10 seconds). I've been trying with FF 10 and Chrome 16 on Windows.

I've also updated the Apache2 config and have disabled KeepAlive and set KeepAliveTimeout to 60, but none of these seems to help. I've also looked at the javascript and c code but couldn't find anything (or a overlooked it). I've enabled both websocket and websocket_draft76... (Apache is running on Ubuntu (Apache/2.2.20 (Ubuntu) PHP/5.3.6-13ubuntu3.1 with Suhosin-Patch configured) - could the Suhosin patch be part of the problem ?

Do you have any idea for to overcome this timeout or connection closing ?

Next I've been trying to play with the dumb-increment module but it just couldn't/wouldn't work. I've even put the test html file from libwebsockets and the apache (with some tuning to point to the /increment path) but didn't work. Do I have to use (read install and configure) the libwebsockets and enabled them in Apache to make this work ?

I'm looking to build my own plugin but I first would like to have both examples working :)

Thanks for any feedback !