mirror of
https://github.com/lammertb/libhttp.git
synced 2025-08-13 12:42:25 +03:00
Rename experimental options (note the names might still change until they are documented)
This commit is contained in:
@@ -1176,9 +1176,9 @@ static struct mg_option config_options[] = {
|
|||||||
{"lua_server_page_pattern", CONFIG_TYPE_EXT_PATTERN, "**.lp$|**.lsp$"},
|
{"lua_server_page_pattern", CONFIG_TYPE_EXT_PATTERN, "**.lp$|**.lsp$"},
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_DUKTAPE)
|
#if defined(USE_DUKTAPE)
|
||||||
{"_experimental_duktape_script_pattern",
|
/* The support for duktape is still in alpha version state.
|
||||||
CONFIG_TYPE_EXT_PATTERN,
|
* The name of this config option might change. */
|
||||||
"**.ssjs$"}, /* TODO: redefine parameter */
|
{"duktape_script_pattern", CONFIG_TYPE_EXT_PATTERN, "**.ssjs$"},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(USE_WEBSOCKET)
|
#if defined(USE_WEBSOCKET)
|
||||||
@@ -1191,9 +1191,9 @@ static struct mg_option config_options[] = {
|
|||||||
{"error_pages", CONFIG_TYPE_DIRECTORY, NULL},
|
{"error_pages", CONFIG_TYPE_DIRECTORY, NULL},
|
||||||
{"tcp_nodelay", CONFIG_TYPE_NUMBER, "0"},
|
{"tcp_nodelay", CONFIG_TYPE_NUMBER, "0"},
|
||||||
#if !defined(NO_CACHING)
|
#if !defined(NO_CACHING)
|
||||||
{"_experimental_static_file_max_age",
|
/* The name of this config option might change (until it is documented). */
|
||||||
CONFIG_TYPE_NUMBER,
|
/* TODO: Document this option. */
|
||||||
"3600"}, /* TODO: redefine parameter */
|
{"static_file_max_age", CONFIG_TYPE_NUMBER, "3600"},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{NULL, CONFIG_TYPE_UNKNOWN, NULL}};
|
{NULL, CONFIG_TYPE_UNKNOWN, NULL}};
|
||||||
|
Reference in New Issue
Block a user