Commit ae148925 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(parameters): Added "Max aux_item length". Changed default of "Max

	aux_items added per call" to 128.
parent 55cdc5c3
/*
* $Id: server-config.c,v 0.65 1999/06/03 22:11:12 ceder Exp $
* $Id: server-config.c,v 0.66 1999/06/13 19:41:30 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -37,7 +37,7 @@
#endif
static const char *
rcsid = "$Id: server-config.c,v 0.65 1999/06/03 22:11:12 ceder Exp $";
rcsid = "$Id: server-config.c,v 0.66 1999/06/13 19:41:30 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -217,6 +217,8 @@ static const struct parameter parameters[] = {
assign_int, NULL, 0, 1, "128", &param.username_len},
{"Max text length",
assign_int, NULL, 0, 1, "131072", &param.text_len},
{"Max aux_item length",
assign_int, NULL, 0, 1, "16384", &param.aux_len},
{"Max broadcast length",
assign_int, NULL, 0, 1, "1024", &param.broadcast_len},
{"Max regexp length",
......@@ -244,7 +246,7 @@ static const struct parameter parameters[] = {
{"Max accept_async len",
assign_int, NULL, 0, 1, "128", &param.accept_async_len},
{"Max aux_items added per call",
assign_int, NULL, 0, 1, "2048", &param.max_add_aux},
assign_int, NULL, 0, 1, "128", &param.max_add_aux},
{"Max aux_items deleted per call",
assign_int, NULL, 0, 1, "128", &param.max_delete_aux},
{"Max super_conf loop",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment