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 09ba5c6789 freertos: lws_cancel_service udp as pipe
Freertos + lwip doesn't support pipe2() or pipe()... implement a "pipe"
based on two UDP sockets, one listening on 127.0.0.1:54321 and the other
doing a sendto() there of a single byte to interrupt the event loop wait.

Re-use the arrangements for actual pipe fds and pipe role to deliver
lws_cancel_service() functionality using this.
2020-01-15 19:52:41 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core freertos: lws_cancel_service udp as pipe 2020-01-15 19:52:41 +00:00
core-net freertos: lws_cancel_service udp as pipe 2020-01-15 19:52:41 +00:00
event-libs event-ops: rename accept member to sock_accept 2020-01-15 12:20:50 +00:00
jose lws_get_random: change length to size_t for coverity 2020-01-11 07:58:37 +00:00
misc clean: explicitly include libwebsockets.h in internal c now we use stddint types earlier 2020-01-15 12:07:20 +00:00
plat freertos: lws_cancel_service udp as pipe 2020-01-15 19:52:41 +00:00
roles event-ops: rename accept member to sock_accept 2020-01-15 12:20:50 +00:00
system clean: codacy 2020-01-14 10:06:26 +00:00
tls tls: apply restriction if any also to client connections 2020-01-15 16:32:48 +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