From: Fredrik Tolf Date: Fri, 28 Dec 2012 06:19:40 +0000 (+0100) Subject: doc: Describe htparser shutdown behavior. X-Git-Tag: 0.12~16 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=c32f292e8e7a46fab5d2a735a75b6fd69f6a1911 doc: Describe htparser shutdown behavior. --- 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 --------