1
0
mirror of https://github.com/golang/go synced 2024-11-22 10:14:40 -07:00

net/http/fcgi: don't mention threads in docs

Fixes #2942

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5650049
This commit is contained in:
Brad Fitzpatrick 2012-02-10 10:29:57 +11:00
parent 88a9e76e28
commit 0a398c4057

View File

@ -243,9 +243,9 @@ func (c *child) serveRequest(req *request, body io.ReadCloser) {
} }
// Serve accepts incoming FastCGI connections on the listener l, creating a new // Serve accepts incoming FastCGI connections on the listener l, creating a new
// service thread for each. The service threads read requests and then call handler // goroutine for each. The goroutine reads requests and then calls handler
// to reply to them. // to reply to them.
// If l is nil, Serve accepts connections on stdin. // If l is nil, Serve accepts connections from os.Stdin.
// If handler is nil, http.DefaultServeMux is used. // If handler is nil, http.DefaultServeMux is used.
func Serve(l net.Listener, handler http.Handler) error { func Serve(l net.Listener, handler http.Handler) error {
if l == nil { if l == nil {