1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib
Andy Green 310abddf5e coverity: ss: mqtt: remove needless wsi check
881     	case LWS_CALLBACK_MQTT_UNSUBSCRIBE_TIMEOUT:
>>>     CID 392688:    (REVERSE_INULL)
>>>     Null-checking "wsi" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
882     		if (!wsi || !wsi->mqtt)
883     			return -1;

wsi can't be NULL for a callback specific to a wsi.
2022-05-17 15:53:53 +01:00
..
abstract license: fix two old headers from pre-MIT change 2021-05-04 18:33:36 +01:00
core threadpool: improve relationship with LWS_HAVE_PTHREAD_H 2022-05-17 15:37:16 +01:00
core-net threadpool: improve relationship with LWS_HAVE_PTHREAD_H 2022-05-17 15:37:16 +01: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 uv: handle uv_poll_init failure 2021-10-07 11:22:36 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc lejp-conf: provide matches for block start paths 2022-02-11 08:43:16 +00:00
plat plat: esp32: Remove esp_attr.h file 2022-05-17 15:37:16 +01:00
roles ss: mqtt: add support for AWS IoT Shadow topic 2022-05-17 15:53:53 +01:00
secure-streams coverity: ss: mqtt: remove needless wsi check 2022-05-17 15:53:53 +01:00
system coverity: reorder NULL check 2022-05-17 15:53:53 +01:00
tls mbedtls: some versions need x509 overallocation 2022-05-17 15:37:16 +01:00
CMakeLists.txt pkgconfig: use appropriate static lib name 2022-02-21 11:10:05 +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