1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/include/libwebsockets
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
..
abstract abstract: existing connection compare 2019-10-10 16:34:37 +01:00
lws-adopt.h adopt: pass wsi opaque so its set from the start 2019-12-09 14:48:54 +00:00
lws-async-dns.h LWS_WITH_UDP 2019-10-12 12:41:14 +01:00
lws-callbacks.h captive portal 2020-03-11 12:44:01 +00:00
lws-cgi.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-client.h client: MQTT 2020-03-04 12:17:49 +00:00
lws-context-vhost.h ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
lws-dbus.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-detailed-latency.h detailed latency stats 2019-09-22 03:06:59 -07:00
lws-diskcache.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-dll2.h lws_state and system state 2019-09-22 09:35:07 -07:00
lws-dsh.h cleaning 2020-01-05 22:17:58 +00:00
lws-esp32.h freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
lws-freertos.h freertos: forward-port lwip version adaptations 2020-03-04 12:17:49 +00:00
lws-fts.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-genaes.h Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
lws-gencrypto.h Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
lws-genec.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-genhash.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-genrsa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-http.h http: add cmake option for header reduction defeat 2020-04-23 17:08:57 +01:00
lws-jose.h jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
lws-jwe.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-jwk.h jwk: add export option to suppress final CRLF 2019-11-04 13:49:13 +00:00
lws-jws.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-lejp.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-logs.h logs: allow giving log bitfields from cmake to force build or exclusion 2020-04-22 06:59:01 +01:00
lws-lwsac.h lwsac: add lwsac_extend api 2020-02-21 17:32:41 +00:00
lws-misc.h lws_spawn: windows 2020-04-13 19:29:09 +01:00
lws-mqtt.h client: MQTT 2020-03-04 12:17:49 +00:00
lws-network-helper.h windows: clean type warnings 2020-01-11 14:04:50 +00:00
lws-optee.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-plugin-generic-sessions.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-protocols-plugins.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-purify.h lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lws-retry.h lws_retry: udp support 2019-10-10 16:34:37 +01:00
lws-ring.h cleaning: windows 2020-03-04 12:17:49 +00:00
lws-secure-streams-client.h ss: allow url style endpoint addresses 2020-03-15 06:19:38 +00:00
lws-secure-streams-policy.h ss: add static policy as a build option 2020-03-26 06:48:34 +00:00
lws-secure-streams.h ss: add lws_ss_to_user_object 2020-03-15 06:22:18 +00:00
lws-sequencer.h client: secure streams 2020-03-04 12:17:49 +00:00
lws-service.h lws_sul: make it clear NULL no longer valid in lws_service_fd 2019-09-22 03:08:36 -07:00
lws-sha1-base64.h base64: stateful decode 2019-09-06 15:30:51 +01:00
lws-spa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-state.h fail paths: deregister notifier and be sure adopt returns NULL 2019-12-06 17:14:28 +00:00
lws-stats.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-struct.h lws_struct: sqlite open option for create or not 2020-04-20 12:56:58 +01:00
lws-system.h captive portal 2020-03-11 12:44:01 +00:00
lws-test-sequencer.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-threadpool.h ctest: fixes-and-changes 2020-04-19 08:43:01 +01:00
lws-timeout-timer.h sul: export sul-specific internal apis for special cases 2019-12-03 10:47:05 +00:00
lws-tokenize.h lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lws-vfs.h linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-write.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-writeable.h h2: LCCSCF_H2_MANUAL_RXFLOW and refactor txcr 2020-01-02 08:31:02 +00:00
lws-ws-close.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-ws-ext.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-ws-state.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-x509.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00