From c32f292e8e7a46fab5d2a735a75b6fd69f6a1911 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 28 Dec 2012 07:19:40 +0100 Subject: [PATCH] doc: Describe htparser shutdown behavior. --- doc/htparser.doc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/htparser.doc b/doc/htparser.doc index 9bace5b..08a182d 100644 --- a/doc/htparser.doc +++ b/doc/htparser.doc @@ -80,6 +80,16 @@ OPTIONS After having daemonized, write the PID of the new process to 'PIDFILE'. +SIGNALS +------- + +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. + EXAMPLES -------- -- 2.11.0