mirror of
https://github.com/golang/go
synced 2024-11-25 09:07:58 -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:
parent
88a9e76e28
commit
0a398c4057
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user