1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-09 03:22:45 +03:00

Rename experimental options (note the names might still change until they are documented)

This commit is contained in:
bel
2016-05-06 23:37:09 +02:00
parent 09bc47d600
commit 20f45b866d

View File

@@ -1176,9 +1176,9 @@ static struct mg_option config_options[] = {
{"lua_server_page_pattern", CONFIG_TYPE_EXT_PATTERN, "**.lp$|**.lsp$"},
#endif
#if defined(USE_DUKTAPE)
{"_experimental_duktape_script_pattern",
CONFIG_TYPE_EXT_PATTERN,
"**.ssjs$"}, /* TODO: redefine parameter */
/* The support for duktape is still in alpha version state.
* The name of this config option might change. */
{"duktape_script_pattern", CONFIG_TYPE_EXT_PATTERN, "**.ssjs$"},
#endif
#if defined(USE_WEBSOCKET)
@@ -1191,9 +1191,9 @@ static struct mg_option config_options[] = {
{"error_pages", CONFIG_TYPE_DIRECTORY, NULL},
{"tcp_nodelay", CONFIG_TYPE_NUMBER, "0"},
#if !defined(NO_CACHING)
{"_experimental_static_file_max_age",
CONFIG_TYPE_NUMBER,
"3600"}, /* TODO: redefine parameter */
/* The name of this config option might change (until it is documented). */
/* TODO: Document this option. */
{"static_file_max_age", CONFIG_TYPE_NUMBER, "3600"},
#endif
{NULL, CONFIG_TYPE_UNKNOWN, NULL}};