http cache policy
authorAndy Green <andy@warmcat.com>
Fri, 22 Apr 2016 00:53:49 +0000 (08:53 +0800)
committerAndy Green <andy@warmcat.com>
Fri, 22 Apr 2016 00:53:49 +0000 (08:53 +0800)
commit42e8b189dcbd1f2b0b38180fe36ec9cc0c944dec
treebeeb6247005dc226015cef6dfcabfc0498cc1ff4
parent748a2210bd241d75f1878e06d381a549f5506632
http cache policy

This allows mounts to define the caching policy of the files inside them.

Support is added in lwsws for controlling it from the config files.

The api for serializing a mount struct opaquely is removed and lws_http_mount struct
made public... it was getting out of control trying to hide the options.

Signed-off-by: Andy Green <andy@warmcat.com>
13 files changed:
CMakeLists.txt
README.lwsws.md
lib/context.c
lib/header.c
lib/libwebsockets.c
lib/libwebsockets.h
lib/private-libwebsockets.h
lib/server.c
lwsws/conf.c
lwsws/etc-lwsws-conf-EXAMPLE
lwsws/etc-lwsws-conf.d-localhost-EXAMPLE
plugins/lwsws-logo.png [new file with mode: 0644]
plugins/server-status.html