per-vhost headers and lwsws conf support
authorAndy Green <andy@warmcat.com>
Sat, 27 Aug 2016 09:07:06 +0000 (17:07 +0800)
committerAndy Green <andy@warmcat.com>
Sat, 27 Aug 2016 09:07:06 +0000 (17:07 +0800)
commite35d91a860d41b75a8e191e84b1d756d9a3269cb
treeac3370c535101506c920feccb5519112cf002cb1
parent46646f9ebf54a079192897aa208420f7f8e40420
per-vhost headers and lwsws conf support

This l;ets you add per-vhost arbitrary headers on served files, eg

     "headers": [{
        "X-Content-Type-Options": "nosniff",
        "X-XSS-Protection": "1; mode=block",
        "x-frame-options": "SAMEORIGIN"
        }],
34 files changed:
README.lwsws.md
doc/html/functions.html
doc/html/functions_vars.html
doc/html/group__client.html
doc/html/group__context-and-vhost.js
doc/html/group__form-parsing.html
doc/html/group__sending-data.html
doc/html/group__smtp.html
doc/html/group__vhost-mounts.html
doc/html/libwebsockets_8h_source.html
doc/html/md_README.lwsws.html
doc/html/navtreedata.js
doc/html/navtreeindex1.js
doc/html/navtreeindex2.js
doc/html/navtreeindex3.js
doc/html/navtreeindex4.js
doc/html/structlws__context__creation__info.html
doc/html/structlws__context__creation__info.js
lib/context.c
lib/header.c
lib/lejp-conf.c
lib/libwebsockets.h
lib/private-libwebsockets.h
lib/server.c
plugins/generic-sessions/assets/index.html
plugins/generic-sessions/assets/lwsgs.js
plugins/generic-sessions/assets/post-register-ok.html
plugins/generic-sessions/assets/post-verify-ok.html
plugins/generic-sessions/protocol_lws_messageboard.c
plugins/generic-table/assets/index.html
plugins/generic-table/assets/lwsgt.js
plugins/protocol_post_demo.c
plugins/server-status.html
test-server/test.html