doc: Clarified the persistent handler convention slightly.
[ashd.git] / doc / ashd.doc
index eb081b7..144abfe 100644 (file)
@@ -15,9 +15,9 @@ technically. If you want a brief overview, please see the homepage at
 The basic premise of ashd is that of standard Unix philosophy; it
 consists of a number of different programs, each specialized to one
 precise task, passing HTTP requests around to each other in a manner
-akin to standard Unix pipelines. This document describes the protocols
-and conventions used between such programs that allows them to
-interoperate.
+akin to standard Unix pipelines. This document describes the set of
+protocols and conventions used between such programs that allows them
+to interoperate.
 
 REQUESTS
 --------
@@ -88,7 +88,8 @@ write such programs. The *htparser*(1) program will only start a
 persistent program as the root handler.
 
 A persistent handler program, when started, is passed a Unix socket of
-SEQPACKET type on standard input. Its parent program will then pass
+SEQPACKET type on standard input (while standard output and error are
+inherited from the parent process). Its parent program will then pass
 one datagram per request on that socket, containing the above listed
 parts of the request using the datagram format described below. By
 convention, the handler program should exit normally if it receives