libwebsockets/lib
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
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
alloc.c LWS_PLAT_OPTEE: Convert to use TEE_Malloc 2017-02-07 00:51:25 +08:00
base64-decode.c base64 decode fix lengths 2016-08-10 21:20:23 +08:00
client-handshake.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
client-parser.c client: take care of rx close during pending partial same as server does 2017-02-28 04:03:26 +08:00
client.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
context.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
daemonize.c context deprecation 2016-12-20 14:37:07 +08:00
extension-permessage-deflate.c gcc format strings: couple more 2017-02-22 07:02:02 +08:00
extension-permessage-deflate.h extension permessage deflate 2016-01-11 11:34:01 +08:00
extension.c documentation convert to doxygen 2016-07-14 08:57:27 +08:00
getifaddrs.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
getifaddrs.h esp8266 initial support 2016-08-10 21:20:23 +08:00
handshake.c ESP32 platform 2017-02-18 17:27:22 +08:00
header.c per-vhost headers and lwsws conf support 2016-08-27 17:07:06 +08:00
hpack.c http2 update integration 2016-04-13 11:53:40 +08:00
http2.c fops: refactor around lws_fops_fd_t 2017-02-26 08:15:42 +08:00
huftable.h http2 hpack basic decode ok including huff 2014-10-12 08:38:16 +08:00
lejp-conf.c ssl config for http client 2017-02-22 07:17:32 +08:00
lejp.c documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lejp.h documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lextable-strings.h raw: adoption and processing 2017-02-21 07:47:35 +08:00
lextable.h raw: adoption and processing 2017-02-21 07:47:35 +08:00
libev.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
libuv.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
libwebsockets.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
libwebsockets.h fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
lws-plat-esp32.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
lws-plat-esp8266.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
lws-plat-optee.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
lws-plat-unix.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
lws-plat-win.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
minihuf.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
parsers.c raw: adoption and processing 2017-02-21 07:47:35 +08:00
pollfd.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
private-libwebsockets.h fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
ranges.c RFC7233 HTTP Ranges support for server 2016-12-20 14:37:07 +08:00
rewrite.c check oom on lws_malloc 2016-05-12 21:04:33 +08:00
server-handshake.c ws-server: restrict returned Sec-Websocket-Protocol to the chosen name only 2016-12-16 22:08:13 +08:00
server.c fops: allow setting from context creation and introduce lws_select_fops_by_vfs_path 2017-03-01 14:59:48 +08:00
service.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
sha-1.c polarssl implementation 2016-04-18 20:05:43 +08:00
smtp.c context deprecation 2016-12-20 14:37:07 +08:00
ssl-client.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00
ssl-http2.c gcc format strings: http2 2017-02-07 00:51:25 +08:00
ssl-server.c mbedtls: remove abortive attempt to avoid confusing people 2017-02-22 09:54:47 +08:00
ssl.c adoption: make union for socket and file fds 2017-03-01 10:01:53 +08:00