1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/include/libwebsockets
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
..
lws-adopt.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-callbacks.h http: add callback to allow upgrade reject 2018-10-31 13:45:00 +08:00
lws-cgi.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-client.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-context-vhost.h adopt: allow associated accepted vhost connections to specific role 2018-12-01 11:05:59 +08:00
lws-dbus.h role: dbus 2018-10-13 08:16:27 +08:00
lws-diskcache.h lws_diskcache: split generic parts from gitohashi into lws 2018-11-12 15:24:42 +08:00
lws-esp32.h Fix QTA erase after factory partition update 2018-09-17 07:26:08 +08:00
lws-fts.h fulltext search 2018-10-26 13:50:53 +08:00
lws-genhash.h genhmac: expose as VISIBLE 2018-09-11 18:27:59 +08:00
lws-genrsa.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-http.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-jwk.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-jws.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-lejp.h lejp: always allow an extra byte at the end of the string buffer for NUL 2018-09-11 18:27:59 +08:00
lws-logs.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-lwsac.h lwsac 2018-10-16 05:05:56 +08:00
lws-misc.h http proxy: client: unix socket support 2018-09-12 13:58:13 +08:00
lws-network-helper.h bind: treat EADDRINUSE as fatal 2018-11-22 17:58:30 +08:00
lws-plugin-generic-sessions.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-protocols-plugins.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-purify.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-ring.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-service.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-sha1-base64.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-spa.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-stats.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-threadpool.h threadpool: add return flag for outlive wsi 2018-09-30 07:08:59 +08:00
lws-timeout-timer.h minimal: update copies of test assets to CSP-compatible versions 2018-11-15 17:15:29 +08:00
lws-tokenize.h tokenizer: flags for dot not delim and floats as strings 2018-11-13 09:34:10 +08:00
lws-vfs.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-write.h docs: add ascii-art to lws_write description 2018-11-03 09:15:36 +08:00
lws-writeable.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-ws-close.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-ws-ext.h clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
lws-ws-state.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00
lws-x509.h libwebsockets.h: split out into a dir of sub-includes included by libwebsockets.h 2018-09-11 18:27:59 +08:00