TCPS-909 — Graceful child termination is performed after receiving a signal
The proxy can be requested to terminate gracefully by signalling its parent process with SIGHUP. Graceful termination means that the proxy does not accept any new connections, but currently open connections are finished normally. Then the proxy terminates. Normally, a signal should be sent only to the parent process. It then signals the children appropriately. The parent can send several commands to the children using SIGHUP. The particular command is determined by a value set in shared memory.