doc: Describe htparser shutdown behavior.
authorFredrik Tolf <fredrik@dolda2000.com>
Fri, 28 Dec 2012 06:19:40 +0000 (07:19 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Fri, 28 Dec 2012 06:19:40 +0000 (07:19 +0100)
doc/htparser.doc

index 9bace5b..08a182d 100644 (file)
@@ -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
 --------