X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=doc%2Fhtparser.doc;h=40ae6ee94ae41f25657d3bd99f0ce8e6539090ce;hp=cc69d57cec99898aa00d9b7a71d8e5a624d6b2da;hb=739f49597901ccf25e8bdd8ef281232274700e2f;hpb=573c55e5907bd8398deb5336f1e06c52bbfc4a8c diff --git a/doc/htparser.doc b/doc/htparser.doc index cc69d57..40ae6ee 100644 --- a/doc/htparser.doc +++ b/doc/htparser.doc @@ -77,6 +77,35 @@ OPTIONS After having daemonized, write the PID of the new process to 'PIDFILE'. +X-ASH HEADERS +------------- + +*htparser* strips away all headers from incoming requests that begin + with the `X-Ash-` prefix, and adds the following headers to requests: + +*X-Ash-Address*:: + + The IP address that the client connected from. May be an IPv6 + address. + +*X-Ash-Port*:: + + The client-side port number of the TCP connection. + +*X-Ash-Server-Address*:: + + The IP address of the server where the connection was + accepted. May be an IPv6 address. + +*X-Ash-Server-Port*:: + + The server-side port number of the TCP connection. + +*X-Ash-Protocol*:: + + Either *http* or *https*, depending on whether the request was + received by the *plain* or the *ssl* handler. + AUTHOR ------ Fredrik Tolf