-
- Downloads
minimal examples: update for CSP best practices
1) update the logos to svg 2) add svg icon for strict security policy where used 3) define new vhost option flag to enforce sending CSP headers with the result code 4) add vhost option flag to minimal examples to enforce sending CSP where applicable 5) Go through all the affecting examples confirming they still work 6) add LWS_RECOMMENDED_MIN_HEADER_SPACE constant (currently 2048) to clarify when we need a buffer to hold headers... with CSP the headers have become potentially a lot larger.
Showing
- README.md 24 additions, 16 deletionsREADME.md
- READMEs/README.content-security-policy.md 2 additions, 1 deletionREADMEs/README.content-security-policy.md
- READMEs/README.unix-domain-reverse-proxy.md 3 additions, 1 deletionREADMEs/README.unix-domain-reverse-proxy.md
- changelog 5 additions, 0 deletionschangelog
- doc-assets/http-proxy-overview.svg 84 additions, 0 deletionsdoc-assets/http-proxy-overview.svg
- include/libwebsockets/lws-context-vhost.h 14 additions, 0 deletionsinclude/libwebsockets/lws-context-vhost.h
- include/libwebsockets/lws-http.h 3 additions, 0 deletionsinclude/libwebsockets/lws-http.h
- lib/roles/h2/ops-h2.c 2 additions, 3 deletionslib/roles/h2/ops-h2.c
- lib/roles/http/header.c 34 additions, 0 deletionslib/roles/http/header.c
- minimal-examples/client-server/minimal-ws-proxy/minimal-ws-proxy.c 2 additions, 1 deletion...xamples/client-server/minimal-ws-proxy/minimal-ws-proxy.c
- minimal-examples/client-server/minimal-ws-proxy/mount-origin/example.js 70 additions, 0 deletions...es/client-server/minimal-ws-proxy/mount-origin/example.js
- minimal-examples/client-server/minimal-ws-proxy/mount-origin/index.html 6 additions, 78 deletions...es/client-server/minimal-ws-proxy/mount-origin/index.html
- minimal-examples/client-server/minimal-ws-proxy/mount-origin/libwebsockets.org-logo.png 0 additions, 0 deletions.../minimal-ws-proxy/mount-origin/libwebsockets.org-logo.png
- minimal-examples/client-server/minimal-ws-proxy/mount-origin/libwebsockets.org-logo.svg 120 additions, 0 deletions.../minimal-ws-proxy/mount-origin/libwebsockets.org-logo.svg
- minimal-examples/client-server/minimal-ws-proxy/mount-origin/strict-csp.svg 53 additions, 0 deletions...lient-server/minimal-ws-proxy/mount-origin/strict-csp.svg
- minimal-examples/dbus-client/minimal-dbus-ws-proxy-testclient/minimal-dbus-ws-proxy-testclient.c 3 additions, 0 deletions...us-ws-proxy-testclient/minimal-dbus-ws-proxy-testclient.c
- minimal-examples/dbus-server/minimal-dbus-server/main.c 3 additions, 0 deletionsminimal-examples/dbus-server/minimal-dbus-server/main.c
- minimal-examples/dbus-server/minimal-dbus-ws-proxy/main.c 2 additions, 1 deletionminimal-examples/dbus-server/minimal-dbus-ws-proxy/main.c
- minimal-examples/http-server/minimal-http-server-basicauth/minimal-http-server-basicauth.c 2 additions, 0 deletions...mal-http-server-basicauth/minimal-http-server-basicauth.c
- minimal-examples/http-server/minimal-http-server-basicauth/mount-origin/404.html 1 addition, 1 deletion...erver/minimal-http-server-basicauth/mount-origin/404.html
Loading
Please register or sign in to comment