Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
e42f2725
Commit
e42f2725
authored
Apr 17, 1999
by
Per Cederqvist
Browse files
(server_init): Use isc configuration 1006 and isc session
configuration 1002. Fill in fd_relocate with PROTECTED_FDS.
parent
41822248
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
e42f2725
/*
* $Id: ramkomd.c,v 0.7
6
1999/04/
06 07:29:14
ceder Exp $
* $Id: ramkomd.c,v 0.7
7
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.7
6
1999/04/
06 07:29:14
ceder Exp $"
;
rcsid
=
"$Id: ramkomd.c,v 0.7
7
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
=
100
5
;
config
.
version
=
100
6
;
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
=
100
1
;
config
.
session
.
version
=
100
2
;
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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment