1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/include/libwebsockets
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
..
lws-adopt.h codacy: fixes for warnings 2019-03-10 08:02:02 +08:00
lws-callbacks.h role: raw-proxy 2018-12-01 11:05:59 +08:00
lws-cgi.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-client.h wsi: opaque_user_data and accessors 2018-12-01 11:05:59 +08:00
lws-context-vhost.h tls: client: also allow vhost client ctx to be initialized with in-memory certs 2019-01-11 13:17:00 +08:00
lws-dbus.h role: dbus 2018-10-13 08:16:27 +08:00
lws-diskcache.h lws_diskcache: split generic parts from gitohashi into lws 2018-11-12 15:24:42 +08:00
lws-esp32.h Fix QTA erase after factory partition update 2018-09-17 07:26:08 +08:00
lws-fts.h fulltext search 2018-10-26 13:50:53 +08:00
lws-genaes.h jwe 2018-12-27 06:45:32 +08:00
lws-gencrypto.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00
lws-genec.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00
lws-genhash.h genec: generic ECDH crypto layer 2018-12-27 06:45:31 +08:00
lws-genrsa.h jwe 2018-12-27 06:45:32 +08:00
lws-http.h ah: custom headers for h1 2019-03-10 08:02:02 +08:00
lws-jose.h ecdh-es 2018-12-27 06:45:32 +08:00
lws-jwe.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00
lws-jwk.h ecdh-es 2018-12-27 06:45:32 +08:00
lws-jws.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00
lws-lejp.h jwe 2018-12-27 06:45:32 +08:00
lws-logs.h optee: remove build system 2019-01-15 06:59:48 +08:00
lws-lwsac.h lwsac 2018-10-16 05:05:56 +08:00
lws-misc.h jwe 2018-12-27 06:45:32 +08:00
lws-network-helper.h adaptations 2019-01-11 13:13:19 +08:00
lws-plugin-generic-sessions.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-protocols-plugins.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-purify.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-ring.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-service.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-sha1-base64.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-spa.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-stats.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-threadpool.h threadpool: add return flag for outlive wsi 2018-09-30 07:08:59 +08:00
lws-timeout-timer.h minimal: update copies of test assets to CSP-compatible versions 2018-11-15 17:15:29 +08:00
lws-tokenize.h tokenizer: flags for dot not delim and floats as strings 2018-11-13 09:34:10 +08:00
lws-vfs.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-write.h role: raw-proxy 2018-12-01 11:05:59 +08:00
lws-writeable.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-ws-close.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-ws-ext.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-ws-state.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-x509.h lws-x509: validation functions 2018-12-31 20:35:54 +08:00