From ee4d8132ccace56ec94e1d615bb3fb44e246d73c Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 28 Dec 2012 07:25:40 +0100 Subject: [PATCH] doc: Refined htparser shutdown description. --- doc/htparser.doc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/htparser.doc b/doc/htparser.doc index 08a182d..928e642 100644 --- a/doc/htparser.doc +++ b/doc/htparser.doc @@ -24,7 +24,8 @@ all the 'ARGS' as command-line arguments. Only after that will *htparser* do any daemonizing or chrooting as specified by options. The root handler must be a persistent program as specified in -*ashd*(7). If the handler program exits, *htparser* will exit too. +*ashd*(7). If the handler program exits, *htparser* will exit too, +following the procedure described below under SIGNALS. PORT SPECIFICATION ------------------ @@ -87,8 +88,9 @@ SIGTERM, SIGINT:: Upon first reception, `htparser` closes all listening ports and the socket to the root handler, but continues to serve all - currently ongoing requests until none remain. Upon second - reception, `htparser` shuts down completely. + currently ongoing requests until none remain, not keeping the + connections open for keep-alive. Upon second reception, + `htparser` shuts down completely. EXAMPLES -------- -- 2.11.0