1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/core-net
Andy Green 7221bc57b5 mux children: generalize helpers out of h2 implementation
This should be a NOP for h2 support and only affects internal
apis.  But it lets us reuse the working and reliable h2 mux
arrangements directly in other protocols later, and share code
so building for h2 + new protocols can take advantage of common
mux child handling struct and code.

Break out common mux handling struct into its own type.

Convert all uses of members that used to be in wsi->h2 to wsi->mux

Audit all references to the members and break out generic helpers
for anything that is useful for other mux-capable protocols to
reuse wsi->mux related features.
2019-12-29 19:59:16 +00:00
..
adopt.c adopt: pass wsi opaque so its set from the start 2019-12-09 14:48:54 +00:00
client.c client: make external http proxying optional 2019-08-26 09:58:57 +01:00
close.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
connect.c tls: lws_system per-connection client certs 2019-12-09 14:48:54 +00:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c LWS_ERRNO: audit uses for case logging may destroy errno 2019-12-14 23:55:28 +00:00
output.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
pollfd.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
private-lib-core-net.h mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
sequencer.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server.c illumos: fix build errors 2019-11-04 13:49:13 +00:00
service.c lws_state and system state 2019-09-22 09:35:07 -07:00
sorted-usec-list.c unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
state.c fail paths: deregister notifier and be sure adopt returns NULL 2019-12-06 17:14:28 +00:00
stats.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
vhost.c active_conns: move out dependency on ah 2019-12-23 09:25:56 +00:00
wsi-timeout.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00
wsi.c mux children: generalize helpers out of h2 implementation 2019-12-29 19:59:16 +00:00