]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/fcgi: don't mention threads in docs
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Feb 2012 23:29:57 +0000 (10:29 +1100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 9 Feb 2012 23:29:57 +0000 (10:29 +1100)
Fixes #2942

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5650049

src/pkg/net/http/fcgi/child.go

index c94b9a7b24919dd372765584aa3082186bf89b55..c8b9a33c87bedbfc2757db6ffc1a1411b38fa976 100644 (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
-// 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.
-// 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.
 func Serve(l net.Listener, handler http.Handler) error {
        if l == nil {