libwebsockets/lib
Andy Green 706961dbb5 solve flowcontrol problems
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>
2013-01-17 17:18:55 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
client-handshake.c replace hashtable polltable management 2013-01-17 15:50:10 +08:00
client-parser.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
client.c client allow remote server to accept with no protocol set 2013-01-17 00:50:48 +08:00
daemonize.c include daemonization file whoops 2013-01-17 15:49:27 +08:00
extension-deflate-frame.c solve flowcontrol problems 2013-01-17 17:18:55 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c introduce logging api and convert all library output to use it 2013-01-10 22:16:37 +08:00
extension-deflate-stream.h Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension-x-google-mux.c audit and make all malloc check for OOM 2013-01-12 13:21:08 +08:00
extension-x-google-mux.h Use __inline for Win32 builds. 2013-01-10 10:07:16 +08:00
extension.c Added extension "deflate-frame". 2013-01-09 18:21:33 +08:00
getifaddrs.c introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
getifaddrs.h introduce getifaddrs for toolchains without it 2013-01-12 20:39:47 +08:00
handshake.c update ping test client and stop exposing payload to extensions 2013-01-16 15:12:33 +08:00
libwebsockets.c solve flowcontrol problems 2013-01-17 17:18:55 +08:00
libwebsockets.h replace hashtable polltable management 2013-01-17 15:50:10 +08:00
Makefile.am solve flowcontrol problems 2013-01-17 17:18:55 +08:00
md5.c introduce-private-md5-sha1.patch 2011-01-23 17:47:08 +00:00
output.c check errors on shutdown close 2013-01-17 17:07:52 +08:00
parsers.c solve flowcontrol problems 2013-01-17 17:18:55 +08:00
private-libwebsockets.h solve flowcontrol problems 2013-01-17 17:18:55 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00