1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/http-server
Andy Green 498a4e2bd7 sul: all timed objects use a single pt sul list
wsi timeout, wsi hrtimer, sequencer timeout and vh-protocol timer
all now participate on a single sorted us list.

The whole idea of polling wakes is thrown out, poll waits ignore the
timeout field and always use infinite timeouts.

Introduce a public api that can schedule its own callback from the event
loop with us resolution (usually ms is all the platform can do).

Upgrade timeouts and sequencer timeouts to also be able to use us resolution.

Introduce a prepared fakewsi in the pt, so we don't have to allocate
one on the heap when we need it.

Directly handle vh-protocol timer if LWS_MAX_SMP == 1
2019-08-09 10:12:09 +01:00
..
minimal-http-server sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-basicauth sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-custom-headers sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-deaddrop sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-dynamic sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-eventlib cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
minimal-http-server-eventlib-demos cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
minimal-http-server-eventlib-foreign cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
minimal-http-server-eventlib-smp cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
minimal-http-server-form-get sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-form-post sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-form-post-file sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-form-post-lwsac sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-fulltext-search sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-generic-sessions sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-mimetypes sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-multivhost sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-proxy sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-smp openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
minimal-http-server-sse sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-sse-ring sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-tls sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-tls-80 sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
minimal-http-server-tls-mem sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01: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