From 0aa1a9e324eaace944a74b1587d5b8606d88d6f1 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 31 Dec 2013 13:56:59 +0000 Subject: [PATCH] Documented USE_POST_SIZE_LIMIT, USE_EXTRA_HTTP_HEADERS --- docs/Embed.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/Embed.md b/docs/Embed.md index e0767d62..8bc3fb54 100644 --- a/docs/Embed.md +++ b/docs/Embed.md @@ -85,10 +85,12 @@ a couple of kilobytes to the executable size, and also has some runtime penalty. -DNO_LOGGING Disable access/error logging -DNO_WEBSOCKET Disable WebSocket support - -DUSE_IPV6 Enable IPv6 support - -DUSE_LUA Enable Lua scripting - -DUSE_LUA_SQLITE3 Enable sqlite3 binding for Lua - -DUSE_SSL Enable SSL + -DUSE_IPV6 Enable IPv6 support + -DUSE_LUA Enable Lua scripting + -DUSE_LUA_SQLITE3 Enable sqlite3 binding for Lua + -DUSE_SSL Enable SSL + -DUSE_POST_SIZE_LIMIT=X POST requests larger than X will be rejected + -DUSE_EXTRA_HTTP_HEADERS=X Append X to the HTTP headers for static files Mongoose source code contains a well-commented example code, listed below: