1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/test-server
Andy Green 1ada132932 fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path
1) There's now a .fops pointer that can be set in the context creation info.  If set, the array of
fops it points to (terminated by an entry with .open = NULL) is walked to find out the best vfs filesystem
path match (comparing the vfs path to fops.path_prefix) for which fops to use.

If none given (.fops is NULL in info) then behaviour is as before, fops are the platform-provided one only.

2) The built in fileserving now walks any array of fops looking for the best fops match automatically.

3) lws_plat_file_... apis are renamed to lws_vfs_file_...
2017-03-01 14:59:48 +08:00
..
android Android: update to use SDK Python script 2016-06-07 02:42:32 +08:00
private basic-auth 2016-12-16 22:08:13 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
attack.sh update attack.sh 2016-10-06 20:41:29 +08:00
favicon.ico refactor-into-dirs.patch 2010-11-01 09:12:17 +00:00
fuzxy.c Updated test programs to build on Solaris. Some whitespaces cleanup. 2016-09-10 04:53:28 +08:00
leaf.jpg add by hand http send example 2013-02-14 23:24:07 +08:00
libwebsockets-test-server.service test server example systemd service file 2016-02-19 12:46:36 +08:00
libwebsockets.org-logo.png add libwebsockets.org logo to share 2013-01-16 10:00:39 +08:00
lws-cgi-test.sh cgi post 2016-04-13 11:53:40 +08:00
lws-common.js plugin table dirlisting 2016-07-14 08:57:28 +08:00
test-client.c mbedtls: remove abortive attempt to avoid confusing people 2017-02-22 09:54:47 +08:00
test-echo.c gcc- format strings: debug and extra plugins 2017-02-05 22:30:27 +08:00
test-fraggle.c client: decruft extensions 2017-02-03 10:39:37 +08:00
test-ping.c client: decruft extensions 2017-02-03 10:39:37 +08:00
test-server-dumb-increment.c Subject: gcc format strings: Make GCC check format strings, fix found problems 2017-02-05 21:32:30 +08:00
test-server-echogen.c Subject: gcc format strings: Make GCC check format strings, fix found problems 2017-02-05 21:32:30 +08:00
test-server-http.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
test-server-libev.c fops: refactor around lws_fops_fd_t 2017-02-26 08:15:42 +08:00
test-server-libuv.c mbedtls: remove abortive attempt to avoid confusing people 2017-02-22 09:54:47 +08:00
test-server-mirror.c license clarification and test apps CC zero 2016-02-08 08:44:21 +08:00
test-server-pthreads.c mbedtls: remove abortive attempt to avoid confusing people 2017-02-22 09:54:47 +08:00
test-server-status.c lws_snprintf 2016-09-15 02:22:57 +08:00
test-server-v2.0.c mbedtls: remove abortive attempt to avoid confusing people 2017-02-22 09:54:47 +08:00
test-server.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
test-server.h fops: refactor around lws_fops_fd_t 2017-02-26 08:15:42 +08:00
test.html per-vhost headers and lwsws conf support 2016-08-27 17:07:06 +08:00