Change max-keep-alive requests to 0 "unlimited"

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent d9228f3ef0
commit 2060595760
  1. 2
      src/main/plugin_core.c
  2. 2
      src/modules/mod_deflate.c

@ -1341,7 +1341,7 @@ static const liPluginOption options[] = {
{ "server.name", LI_VALUE_STRING, NULL, NULL, NULL },
{ "server.tag", LI_VALUE_STRING, PACKAGE_DESC, NULL, NULL },
{ "keepalive.timeout", LI_VALUE_NUMBER, GINT_TO_POINTER(5), NULL, NULL },
{ "keepalive.requests", LI_VALUE_NUMBER, GINT_TO_POINTER(15), NULL, NULL },
{ "keepalive.requests", LI_VALUE_NUMBER, GINT_TO_POINTER(0), NULL, NULL },
{ "mime_types", LI_VALUE_LIST, NULL, core_option_mime_types_parse, core_option_mime_types_free },

@ -651,7 +651,7 @@ static void deflate_free(liServer *srv, gpointer param) {
g_slice_free(deflate_config, conf);
}
/* deflate optio names */
/* deflate option names */
static const GString
don_encodings = { CONST_STR_LEN("encodings"), 0 },
don_blocksize = { CONST_STR_LEN("blocksize"), 0 },

Loading…
Cancel
Save