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

(server_init): Use isc configuration 1006 and isc session

	configuration 1002.  Fill in fd_relocate with PROTECTED_FDS.
parent 41822248
/*
* $Id: ramkomd.c,v 0.76 1999/04/06 07:29:14 ceder Exp $
* $Id: ramkomd.c,v 0.77 1999/04/17 12:58:03 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -44,7 +44,7 @@
#endif
static const char *
rcsid = "$Id: ramkomd.c,v 0.76 1999/04/06 07:29:14 ceder Exp $";
rcsid = "$Id: ramkomd.c,v 0.77 1999/04/17 12:58:03 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -140,18 +140,19 @@ server_init (char * client_port, char * mux_port)
/*
** Setup some parameters here
*/
config.version = 1005;
config.version = 1006;
config.master.version = 1001;
config.master.memfn.alloc = &isc_malloc_wrapper;
config.master.memfn.realloc = &isc_realloc_wrapper;
config.master.memfn.free = &isc_free_wrapper;
config.master.abortfn = NULL; /* Use default abort function. */
config.session.version = 1001;
config.session.version = 1002;
config.session.max.msgsize = -1; /* Use default sizes. */
config.session.max.queuedsize = -1;
config.session.max.dequeuelen = -1;
config.session.max.openretries = -1;
config.session.max.backlog = -1;
config.session.fd_relocate = PROTECTED_FDS;
kom_server_mcb = isc_initialize(&config);
if ( kom_server_mcb == NULL )
......
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