1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core-net
Andy Green d1d313b4bf ws proxy: also proxy h1 ws to h1 and h2
lws has been able to proxy h2 or h1 inbound connections to an
h1 onward connection for a while now.  It's simple to use just
build with LWS_WITH_HTTP_PROXY and make a mount where the origin
is the onward connection details.  Unix sockets can also be
used as the onward connection.

This patch extends the support to be able to also do the same for
inbound h2 or h1 ws upgrades to an h1 ws onward connection as well.

This allows you to offer completely different services in a
common URL space, including ones that connect back by ws / wss.
2019-03-21 10:26:47 +08:00
..
adopt.c lws_dll: remove lws_dll_lws and deprecate lws_dll_remove 2019-03-21 06:19:31 +08:00
client.c ipv6: support [ipv6]:port in client proxy 2019-03-10 08:02:02 +08:00
close.c ws proxy: also proxy h1 ws to h1 and h2 2019-03-21 10:26:47 +08:00
connect.c LWS_WITH_NETWORK: cmake option for no network code 2019-01-13 07:54:57 +08:00
dummy-callback.c ws proxy: also proxy h1 ws to h1 and h2 2019-03-21 10:26:47 +08:00
network.c bzero: replace all with memset 2019-03-10 08:02:02 +08:00
output.c nossl recv: always respond to 0 length read as shutdown 2019-03-21 10:24:58 +08:00
pollfd.c minimal-http-server-eventlib-smp 2019-03-21 10:26:42 +08:00
private.h ws proxy: also proxy h1 ws to h1 and h2 2019-03-21 10:26:47 +08:00
server.c glibc: if malloc_trim() exists, call it periodically 2019-03-16 08:10:47 +08:00
service.c lws_dll: remove lws_dll_lws and deprecate lws_dll_remove 2019-03-21 06:19:31 +08:00
stats.c LWS_WITH_NETWORK: cmake option for no network code 2019-01-13 07:54:57 +08:00
vhost.c ws proxy: also proxy h1 ws to h1 and h2 2019-03-21 10:26:47 +08:00
wsi-timeout.c lws_dll: remove lws_dll_lws and deprecate lws_dll_remove 2019-03-21 06:19:31 +08:00
wsi.c lws_dll: remove lws_dll_lws and deprecate lws_dll_remove 2019-03-21 06:19:31 +08:00