libwebsockets/lib
Andy Green ec1cd5c4f7 client-http: improve exit paths
The handling of return codes in client-http generally can do with some
improvement.  Basically it should be OK (0) or the wsi should be closed
synchronously in the function and return nonzero.

Re-use LWS_HPI_RET_WSI_ALREADY_DIED as the closed return to make the
meaning unambiguous.

Add some extra use of bail3 exit path to cleanly return the closed
value with cce for some extra cases.
2025-04-08 05:42:39 +01:00
..
abstract license: fix two old headers from pre-MIT change 2021-05-04 18:33:36 +01:00
core coverity 872858: hash gen overflow false positive 2025-01-19 16:58:57 +00:00
core-net freertos: fix pipe free 2025-03-23 13:57:22 +00:00
cose coverity: 2021-12-1 uplevel fixes 2022-05-17 15:34:22 +01:00
drivers esp32: update against Dec 21 idf 2022-01-04 15:59:50 +00:00
event-libs without-server: adapt loops to not touch listen_list 2024-09-25 07:03:54 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc coverity 472862: cookiejar overflow 2025-01-19 16:58:46 +00:00
plat sll_protocol may be be16 2025-03-12 16:55:04 +00:00
roles client-http: improve exit paths 2025-04-08 05:42:39 +01:00
secure-streams clean: remove google fuzzer warning when no MQTT 2025-03-24 12:39:32 +00:00
system async dns: allow up to 8 x 128-char CNAMEs from 4 2025-02-27 07:41:53 +00:00
tls wolfssl: update membuf to use lws alloc 2025-03-13 16:11:24 +00:00
CMakeLists.txt PkgConfig: include libsystemd if needed by lib 2025-02-28 17:23:39 +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