1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/test-server
Andy Green 8cd06ca315 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 09:30:09 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh attack.sh add check for nonexistant file processing 2016-02-20 08:11:35 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
fuzxy.c Don't include <sys/cdefs.h> for NetBSD 2016-02-27 10:24:40 +08:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets-test-server.service test server example systemd service file 2016-02-20 08:04:53 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
test-client.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-echo.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-fraggle.c coverity 158146 test fraggle sprintf bounds 2016-02-15 21:07:09 +08:00
test-ping.c coverity 158147 test ping sprintf bounds 2016-02-15 21:09:00 +08:00
test-server-dumb-increment.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-echogen.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-http.c test server log LWS_CALLBACK_HTTP 2016-02-25 15:08:03 +08:00
test-server-libev.c Fix some typos. 2016-02-16 21:48:38 +08:00
test-server-libuv.c libuv: handle signals only if requested 2016-03-23 08:04:39 +08:00
test-server-mirror.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-pthreads.c clang fixes 1 2016-03-15 21:24:04 +08:00
test-server-status.c lws status fix LWS_PRE 2016-02-25 09:27:02 +08:00
test-server.c test server align rxbuf with permessage deflate rx buf size 2016-04-01 09:30:09 +08:00
test-server.h test server add lws_status 2016-02-21 13:44:07 +08:00
test.html test server align rxbuf with permessage deflate rx buf size 2016-04-01 09:30:09 +08:00