mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
![]() Until now minilex has done fine with providing a simple and fast header decode state machine. But for HTTP2.0, new headers must be added and it is already on the limit of table branching in 1 byte (already using +0xf8 of a max limit of 0xff). This changes the minilex format to improve storage size without loss of decode efficiency. It reduces the curent lws header table from 546 -> 403 bytes and upgrades the ability to increase table size by allowing jumps to increase from the old limit of +255 states to +65535 states, which should be enough for anything we ever want to do. The max number of terminals is also increased from 128 to 2048. Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
.. | ||
.gitignore | ||
base64-decode.c | ||
client-handshake.c | ||
client-parser.c | ||
client.c | ||
daemonize.c | ||
extension-deflate-frame.c | ||
extension-deflate-frame.h | ||
extension-deflate-stream.c | ||
extension-deflate-stream.h | ||
extension.c | ||
getifaddrs.c | ||
getifaddrs.h | ||
handshake.c | ||
lextable.h | ||
libwebsockets.c | ||
libwebsockets.h | ||
minilex.c | ||
output.c | ||
parsers.c | ||
private-libwebsockets.h | ||
server-handshake.c | ||
server.c | ||
sha-1.c |