Uses fork/exec to limit memory footprint of ocserv-worker processes

Capture all the required worker process state in a protobuf and
pass to worker via env. Snapshot all config files to ensure ocserv-sm
and ocserv-worker remain in sync. Split ocserv-worker functionality
into it's own executable with minimal dependencies.

Resolves: #285

Signed-off-by: Alan Jowett alanjo@microsoft.com
This commit is contained in:
Alan Jowett
2020-04-19 21:39:18 -06:00
committed by Nikos Mavrogiannopoulos
parent fb4116b2d7
commit ce66485ee6
56 changed files with 1592 additions and 261 deletions

View File

@@ -6,7 +6,7 @@
*
* This file is part of ocserv.
*
* The GnuTLS is free software; you can redistribute it and/or
* ocserv is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.