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 8a7e0edb7d lws_spawn_piped: break out from cgi
The vfork optimized spawn, stdxxx and terminal handling in the cgi
implementation is quite mature and sophisticated, and useful for
other things unrelated to cgi.  Break it out into its own public
api under LWS_WITH_SPAWN, off by default.

Expand it so the parent wsi is optional, and the role and protocol
bindings for stdxxx pipes can be set.  Allow optional sul timeout
and external lws_dll2 owner for extant children.

Remove inline style from minimal http-server-cgi
2020-02-21 17:32:41 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core lws_system: just define opaque struct instead of the typedef 2020-02-21 17:32:41 +00:00
core-net lws_spawn_piped: break out from cgi 2020-02-21 17:32:41 +00:00
event-libs ev: log aio backend 2020-02-21 17:32:41 +00:00
jose Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
misc lws_spawn_piped: break out from cgi 2020-02-21 17:32:41 +00:00
plat unix plat: use eventfd in place of pipe where possible 2020-02-21 17:32:41 +00:00
roles lws_spawn_piped: break out from cgi 2020-02-21 17:32:41 +00:00
system COV265479: asyn dns check retrun from retry api 2020-02-04 14:16:18 +00:00
tls Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +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