libwebsockets/lib
Andy Green 1c428c3154 test server align rxbuf with permessage deflate rx buf size
Add a test html button that will send 9KB of junk to confirm it

https://github.com/warmcat/libwebsockets/issues/480

permessage-deflate now checks the protocol rx buffer size for being
>=128, if not, permessage-deflate is disabled on that connection.

If it is >=128 but less than the zlib decompress buffer size, the
zlib decompress buffer size for that connection is reduced to the
nearest power of two of the protocol rx buf size.

To test this, dumb_increment is left violating the >= 128 rx buffer
size and permessage-deflte can be seen to be disabled on his
connections in the test html.

Signed-off-by: Andy Green <andy@warmcat.com>
2016-04-01 08:47:05 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
alloc.c Subject: [PATCH] Add custom allocator support using the realloc() interface 2014-12-05 07:25:24 +08:00
base64-decode.c b64decode correct decode of some strings 2016-03-19 07:43:22 +08:00
client-handshake.c introduce vhosts 2016-03-28 10:15:25 +08:00
client-parser.c LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT to default to runtime ssl disable 2016-03-23 09:22:11 +08:00
client.c test server align rxbuf with permessage deflate rx buf size 2016-04-01 08:47:05 +08:00
context.c introduce vhosts 2016-03-28 10:15:25 +08:00
daemonize.c daemonize work under systemd 2016-02-19 12:44:59 +08:00
extension-permessage-deflate.c test server align rxbuf with permessage deflate rx buf size 2016-04-01 08:47:05 +08:00
extension-permessage-deflate.h extension permessage deflate 2016-01-11 11:34:01 +08:00
extension.c introduce vhosts 2016-03-28 10:15:25 +08:00
getifaddrs.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
getifaddrs.h Use LWS_HAVE_ instead of just HAVE_ 2015-10-12 09:53:17 +08:00
handshake.c cgi env 2016-03-21 15:17:33 +08:00
header.c lws_return_http_status send content length 2016-02-20 07:53:24 +08:00
hpack.c http header malloc pool implement pool 2015-12-25 14:34:20 +08:00
http2.c introduce vhosts 2016-03-28 10:15:25 +08:00
huftable.h http2 hpack basic decode ok including huff 2014-10-12 08:38:16 +08:00
lextable-strings.h client support http without ws 2016-02-29 18:41:36 +08:00
lextable.h client support http without ws 2016-02-29 18:41:36 +08:00
libev.c introduce vhosts 2016-03-28 10:15:25 +08:00
libuv.c libuv win32 fixes 2016-03-31 20:12:14 +08:00
libwebsockets.c introduce vhosts 2016-03-28 10:15:25 +08:00
libwebsockets.h mbedtls and polarssl first part 2016-03-29 21:49:18 +08:00
lws-plat-mbed3.c mbed align with pt changes 2016-01-20 17:35:18 +08:00
lws-plat-mbed3.cpp mbed align with pt changes 2016-01-20 17:35:18 +08:00
lws-plat-unix.c introduce vhosts 2016-03-28 10:15:25 +08:00
lws-plat-win.c introduce vhosts 2016-03-28 10:15:25 +08:00
minihuf.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c proxy rewrite 2016-03-20 11:59:53 +08:00
parsers.c client chunked transfer encoding 2016-03-19 17:21:45 +08:00
pollfd.c introduce vhosts 2016-03-28 10:15:25 +08:00
private-libwebsockets.h libuv win32 fixes 2016-03-31 20:12:14 +08:00
rewrite.c proxy rewrite 2016-03-20 11:59:53 +08:00
server-handshake.c test server align rxbuf with permessage deflate rx buf size 2016-04-01 08:47:05 +08:00
server.c introduce vhosts 2016-03-28 10:15:25 +08:00
service.c cgi env 2016-03-21 15:17:33 +08:00
sha-1.c Fix build with musl libc 2016-03-30 06:25:19 +08:00
ssl-client.c mbedtls and polarssl first part 2016-03-29 21:49:18 +08:00
ssl-http2.c http2 build with alpn capable ssl no debug 2016-03-25 21:01:11 +08:00
ssl-server.c mbedtls and polarssl first part 2016-03-29 21:49:18 +08:00
ssl.c mbedtls and polarssl first part 2016-03-29 21:49:18 +08:00