libwebsockets/lib
Andy Green bebc1bb852 valgrind free rx_user_buffer if entered CONNMODE_WS_SERVING
This seems to be enough to get a clean valgrind run for the
test server with 1 x chrome and 1 x libwebsockets-test-client
session being run for 10s

lwsts[19767]: libwebsockets-test-server exited cleanly
==19767==
==19767== HEAP SUMMARY:
==19767==     in use at exit: 0 bytes in 0 blocks
==19767==   total heap usage: 41,071 allocs, 41,071 frees, 27,464,834 bytes allocated
==19767==
==19767== All heap blocks were freed -- no leaks are possible
==19767==
==19767== For counts of detected and suppressed errors, rerun with: -v
==19767== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)

test client is another story...

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-02-11 12:37:13 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c CMake support + fixed windows build. 2013-02-06 15:49:12 +09:00
client-handshake.c replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
client-parser.c throw out lws_websocket_related cruft 2013-02-11 00:34:43 +08:00
client.c replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
daemonize.c Fixed build on OSX. 2013-02-06 15:49:12 +09:00
extension-deflate-frame.c remove minimum frame size for deflate 2013-02-11 10:18:31 +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 remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
extension.c deprecate x google mux 2013-01-17 19:53:16 +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 valgrind drop header allocation down http path 2013-02-11 11:27:44 +08:00
libwebsockets.c valgrind free rx_user_buffer if entered CONNMODE_WS_SERVING 2013-02-11 12:37:13 +08:00
libwebsockets.h valgrind introduce protocol init and destroy user callbacks 2013-02-11 12:05:54 +08:00
Makefile.am stop O2 override 2013-02-11 09:31:43 +08:00
minilex.c add lexical parser for headers 2013-01-18 01:55:48 +08:00
output.c dont close in user callback wrapper let ancestor do it 2013-02-11 00:34:43 +08:00
parsers.c replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
private-libwebsockets.h replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
server-handshake.c replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
server.c replace per header mallocs with single malloc 3 level struct 2013-02-11 11:10:57 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00