canonical libwebsockets.org websocket library
![]() Problems with rx flow control implementation were the underlying cause of the connection stalling issue that was covered up with the udelay() patch that was removed recently. This get rx flow control working properly and corrects problems with fifo management in the test server mirror protocol code too. The rxfow control api has been changed to just set a flag, so it's very cheap to call from user code. After the callbacks that might use the rxflow control api the flag is checked and any pending actions done. rx flow control now stops any rx packet coming immediately, with compessed connections "just what was left in the pipe" might be hundreds of KBytes. To implement that the current packet being decoded is copied into a malloc'd buffer by the rx processing code now. When rxflow is allows to come again, the buffer is drained and freed before any new packet content is accepted. Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
lib | ||
m4 | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
libwebsockets-api-doc.html | ||
libwebsockets.pc.in | ||
libwebsockets.spec | ||
Makefile.am | ||
README-test-server |