1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/plugins
Andy Green b318877cd9 adopt: allow associated accepted vhost connections to specific role
Normalize the vhost options around optionally handling noncompliant
traffic at the listening socket for both non-tls and tls cases.

By default everything is as before.

However it's now possible to tell the vhost to allow noncompliant
connects to fall back to a specific role and protocol, both set
by name in the vhost creation info struct.

The original vhost flags allowing http redirect to https and
direct http serving from https server (which is a security
downgrade if enabled) are cleaned up and tested.

A minimal example minimal-raw-fallback-http-server is added with
switches to confirm operation of all the valid possibilities (see
the readme on that).
2018-12-01 11:05:59 +08:00
..
acme-client libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
deaddrop minimal example deaddrop 2018-12-01 11:05:59 +08:00
generic-sessions codacy: minor fixes 2018-10-13 08:16:27 +08:00
generic-table codacy: minor fixes 2018-10-13 08:16:27 +08:00
ssh-base codacy: minor fixes 2018-10-13 08:16:27 +08:00
lwsws-logo.png http cache policy 2016-04-22 08:53:49 +08:00
protocol_client_loopback_test.c libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
protocol_dumb_increment.c libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
protocol_esp32_lws_group.c plugins: group 2017-05-16 20:21:47 +08:00
protocol_esp32_lws_ota.c libwebsockets.h: clean out some boilerplate better put in core/private.h 2018-08-16 19:10:32 +08:00
protocol_esp32_lws_reboot_to_factory.c esp32: separate factory setup 2017-03-31 20:05:10 +08:00
protocol_esp32_lws_scan.c libwebsockets.h: clean out some boilerplate better put in core/private.h 2018-08-16 19:10:32 +08:00
protocol_fulltext_demo.c fulltext search 2018-10-26 13:53:28 +08:00
protocol_lws_mirror.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
protocol_lws_raw_test.c adopt: allow associated accepted vhost connections to specific role 2018-12-01 11:05:59 +08:00
protocol_lws_server_status.c codacy: minor fixes 2018-10-13 08:16:27 +08:00
protocol_lws_sshd_demo.c fulltext search 2018-10-26 13:53:28 +08:00
protocol_lws_status.c lws_hdr_copy: ensure enough extra space 2018-10-26 16:14:30 +08:00
protocol_post_demo.c post-demo: fix h2 flags 2018-11-28 15:06:10 +08:00
server-status.css test-app: upgrade test.html to have separate css and js for CSP 2018-09-11 18:27:59 +08:00
server-status.html test-app: upgrade test.html to have separate css and js for CSP 2018-09-11 18:27:59 +08:00
server-status.js codacy: minor fixes 2018-10-13 08:16:27 +08:00