plugins
authorAndy Green <andy@warmcat.com>
Wed, 6 Apr 2016 08:15:40 +0000 (16:15 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 7 Apr 2016 01:38:08 +0000 (09:38 +0800)
commit020770566e8e68235abe5fa7fc6da5099806a28f
tree3c322f7b3606896e1a7adec5820d65ad8aa58c59
parent09998e3ad8e658674cb3db126ea785baa14ccdbb
plugins

This adds support for dynamically loaded plugins at runtime, which
can expose their own protocols or extensions transparently.

With these changes lwsws defaults to OFF in cmake, and if enabled it
automatically enables plugins and libuv support.

Signed-off-by: Andy Green <andy@warmcat.com>
23 files changed:
.travis.yml
CMakeLists.txt
README.lwsws.md
lib/context.c
lib/libev.c
lib/libuv.c
lib/libwebsockets.c
lib/libwebsockets.h
lib/lws-plat-unix.c
lib/pollfd.c
lib/private-libwebsockets.h
lib/server.c
lib/service.c
lws_config.h.in
lwsws/etc-lwsws-conf-EXAMPLE [new file with mode: 0644]
lwsws/etc-lwsws-conf.d-libwebsockets.org-EXAMPLE [new file with mode: 0644]
lwsws/http.c
lwsws/main.c
plugins/protocol_dumb_increment.c [new file with mode: 0644]
plugins/protocol_lws_mirror.c [new file with mode: 0644]
plugins/protocol_lws_status.c [new file with mode: 0644]
test-server/test-server-libuv.c
travis_install.sh