1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green 047fb7bb21 tokenize: enhance to support chunked parsing
Add EXPECT_MORE flag to indicate that running out of input is not (yet)
indicating the end of the document.  The caller should remove this flag
when it identifies that it does not have the chunk with the end of the
document: the last chunk may be zero length.

Track line numbers so the caller can infer CR, absorb CRLF -> CR.

Also add COLON_NONTERM needed for ipv6 literal addresses.
2022-04-10 06:56:12 +01:00
..
core tokenize: enhance to support chunked parsing 2022-04-10 06:56:12 +01:00
core-net client: connect report actual socket error to user callback rather than EINPROGRESS 2022-04-10 06:56:12 +01:00
cose coverity: 2021-12-1 uplevel fixes 2022-03-15 10:28:09 +00:00
drivers lws_display: SSD1675B 2022-04-10 06:56:12 +01:00
event-libs sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
jose base64: improve sanity checking 2022-03-25 08:18:30 +00:00
misc coverity: fixes 2022-04-10 06:56:12 +01:00
plat logs: use finegrained level test on unix-sockets.c 2022-04-10 06:56:12 +01:00
roles raw: tls conns 2022-04-10 06:56:12 +01:00
secure-streams ss: metrics: clean any unused metrics tags on ss destroy 2022-03-25 08:18:29 +00:00
system lws_ota 2022-03-25 08:18:30 +00:00
tls base64: improve sanity checking 2022-03-25 08:18:30 +00:00
CMakeLists.txt pkgconfig: use appropriate static lib name 2022-03-15 10:28:09 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries