1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/cmake
Andy Green 986bb37c88 ah: custom headers for h1
Until now lws only parses headers it knows at build-time from its
prebuilt lexical analyzer.

This adds an on-by-default cmake option and a couple of apis
to also store and query "custom", ie, unknown-to-lws headers.

A minimal example is also provided.

At the moment it only works on h1, h2 support needs improvements
to the hpack implementation.

Since it bloats ah memory usage compared to without it if custom
headers are present, the related code and ah footprint can be
disabled with the cmake option LWS_WITH_CUSTOM_HEADERS, but it's
on by default normally.  ESP32 platform disables it.

https://github.com/warmcat/libwebsockets/pull/1499
2019-03-10 08:02:02 +08:00
..
FindGit.cmake add FindGit.cmake 2013-02-18 18:34:10 +08:00
FindLibWebSockets.cmake clean up top level of project 2017-09-27 08:24:05 +08:00
FindOpenSSLbins.cmake Fixed ssl cert generation on Windows. 2013-02-22 09:28:11 +08:00
LibwebsocketsConfig.cmake.in add missing CMake pieces 2014-02-16 01:52:50 +08:00
LibwebsocketsConfigVersion.cmake.in add missing CMake pieces 2014-02-16 01:52:50 +08:00
lws_config.h.in ah: custom headers for h1 2019-03-10 08:02:02 +08:00
lws_config_private.h.in lws_diskcache: split generic parts from gitohashi into lws 2018-11-12 15:24:42 +08:00
UseRPMTools.cmake rpm: do parallel compilation during rpm builds 2018-05-26 09:20:20 +08:00