1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/roles/h2
Andy Green 99e778ac08 http: add cmake option for header reduction defeat
Lws now strips out http headers releated to h2, ws and unusual headers
based on cmake config settings for those features... it saves some heap
for the ah and reduces the table size in .rodata.

It's possible code might have some external dependency on the original
header indexes, but, eg, you don't enable h2 so those indexes are
optimized with the h2 ones taken out.

This introduces a cmake option "LWS_HTTP_HEADERS_ALL", default-OFF, that
defeats the header table optimization for compatibility with older
versions in the case the client software can't be adapted to use the
lws-exported matching header enums.

You probably don't need this.
2020-04-23 17:08:57 +01:00
..
hpack.c http: add cmake option for header reduction defeat 2020-04-23 17:08:57 +01:00
http2.c h2: cmake: build with NO_SERVER 2020-04-16 06:59:45 +01:00
huftable.h refactor role ops 2018-04-11 13:39:42 +08:00
minihuf.c cleaning 2020-01-05 22:17:58 +00:00
ops-h2.c h2: cmake: build with NO_SERVER 2020-04-16 06:59:45 +01:00
private-lib-roles-h2.h role structs to const 2020-01-15 06:31:19 +00:00