1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib
Andy Green 988bd987af zlib code add OOM checks remove buffer expansion on rx path
Here testing with the test serer and chrome 25, the buffer expansion
code on Rx was triggered by a valid no data output condition and looped
until it exhausted all memory.

This patch adds OOM check to all malloc()s and removes the buffer expansion
code on the rx path... leaving the code on tx path for now.

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-01-10 12:45:54 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c style cleaning 2012-04-09 15:24:22 +08:00
client-handshake.c Added private macro AWAITING_TIMEOUT instead of harcoded value 5. 2013-01-09 18:17:42 +08:00
extension-deflate-frame.c zlib code add OOM checks remove buffer expansion on rx path 2013-01-10 12:45:54 +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 Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension-deflate-stream.h Fixed deflate-stream extension. 2013-01-09 18:17:42 +08:00
extension-x-google-mux.c debug move most spew into debug macro 2011-11-07 19:53:23 +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
handshake.c Close connection if LWS_CALLBACK_HTTP returns non-zero. 2013-01-10 12:45:54 +08:00
libwebsockets.c Avoid leaking a socket when SSL_accept fails. 2013-01-10 12:45:54 +08:00
libwebsockets.h Added support for extensions that only manipulate application data. 2013-01-09 18:17:42 +08:00
Makefile.am Added extension "deflate-frame". 2013-01-09 18:21:33 +08:00
md5.c introduce-private-md5-sha1.patch 2011-01-23 17:47:08 +00:00
parsers.c Added support for continuation frames on the server. 2013-01-10 12:45:54 +08:00
private-libwebsockets.h Increased MAX_BROADCAST_PAYLOAD to match MAX_USER_RX_BUFFER. 2013-01-10 12:45:54 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00