1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples/http-server
Andy Green 8a7e0edb7d lws_spawn_piped: break out from cgi
The vfork optimized spawn, stdxxx and terminal handling in the cgi
implementation is quite mature and sophisticated, and useful for
other things unrelated to cgi.  Break it out into its own public
api under LWS_WITH_SPAWN, off by default.

Expand it so the parent wsi is optional, and the role and protocol
bindings for stdxxx pipes can be set.  Allow optional sul timeout
and external lws_dll2 owner for extant children.

Remove inline style from minimal http-server-cgi
2020-02-21 17:32:41 +00:00
..
minimal-http-server cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-basicauth cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-cgi lws_spawn_piped: break out from cgi 2020-02-21 17:32:41 +00:00
minimal-http-server-custom-headers cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-deaddrop clean: codacy 2020-01-14 10:06:26 +00:00
minimal-http-server-dynamic cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-eventlib event-lib-glib 2020-02-21 17:32:41 +00:00
minimal-http-server-eventlib-demos event-lib-glib 2020-02-21 17:32:41 +00:00
minimal-http-server-eventlib-foreign event lib: glib: LWS_WITH_GLIB option fixes 2020-02-21 17:32:41 +00:00
minimal-http-server-eventlib-smp event-lib-glib 2020-02-21 17:32:41 +00:00
minimal-http-server-form-get cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-form-post cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-form-post-file cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-form-post-lwsac cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-fulltext-search cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-generic-sessions clean: codacy 2020-01-14 10:06:26 +00:00
minimal-http-server-h2-long-poll cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-mimetypes cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-multivhost cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-proxy cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-smp cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-sse cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-sse-ring cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-tls cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-tls-80 cleaning 2020-01-05 22:17:58 +00:00
minimal-http-server-tls-mem cleaning 2020-01-05 22:17:58 +00:00
README.md vhost info: add memory buffer cert support 2019-03-12 11:57:43 +08:00

Example Demonstrates
minimal-http-server-basicauth Shows how to protect a mount using a password file and basic auth
minimal-http-server-custom-headers Shows how to query custom headers that lws doesn't already know
minimal-http-server-deaddrop Shows how to use the deaddrop drag and drop file upload + sharing plugin
minimal-http-server-dynamic Serves both static and dynamically generated http content
minimal-http-server-eventlib-foreign Demonstrates integrating lws with a foreign event library
minimal-http-server-eventlib-demos Using the demo plugins with event libraries
minimal-http-server-eventlib Same as minimal-http-server but works with a supported event library
minimal-http-server-form-get Process a GET form
minimal-http-server-form-post-file Process a multipart POST form with file transfer
minimal-http-server-form-post Process a POST form (no file transfer)
minimal-http-server-fulltext-search Demonstrates using lws Fulltext Search
minimal-http-server-mimetypes Shows how to add support for additional mimetypes at runtime
minimal-http-server-multivhost Same as minimal-http-server but three different vhosts
minimal-http-server-proxy Reverse Proxy
minimal-http-server-smp Multiple service threads
minimal-http-server-sse-ring Server Side Events with ringbuffer and threaded event sources
minimal-http-server-sse Simple Server Side Events
minimal-http-server-tls-80 Serves a directory over http/1 or http/2 with TLS (SSL), custom 404 handler, redirect to https on port 80
minimal-http-server-tls-mem Serves using TLS with the cert and key provided as memory buffers instead of files
minimal-http-server-tls Serves a directory over http/1 or http/2 with TLS (SSL), custom 404 handler
minimal-http-server Serves a directory over http/1, custom 404 handler