package fcgi
Import Path
net/http/fcgi (on go.dev)
Dependency Relation
imports 14 packages, and imported by 0 packages
Involved Source Files
child.go
Package fcgi implements the FastCGI protocol.
See https://fast-cgi.github.io/ for an unofficial mirror of the
original documentation.
Currently only the responder role is supported.
Package-Level Functions (total 2)
ProcessEnv returns FastCGI environment variables associated with the request r
for which no effort was made to be included in the request itself - the data
is hidden in the request's context. As an example, if REMOTE_USER is set for a
request, it will not be found anywhere in r, but it will be included in
ProcessEnv's response (via r's context).
Serve accepts incoming FastCGI connections on the listener l, creating a new
goroutine for each. The goroutine reads requests and then calls handler
to reply to them.
If l is nil, Serve accepts connections from os.Stdin.
If handler is nil, [http.DefaultServeMux] is used.
Package-Level Variables (total 2)
ErrConnClosed is returned by Read when a handler attempts to read the body of
a request after the connection to the web server has been closed.
ErrRequestAborted is returned by Read when a handler attempts to read the
body of a request that has been aborted by the web server.
The pages are generated with Golds v0.6.9-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |