go version:1.17
server端相关
/usr/local/go/src/net/http/server.go:3001
服务端等待请求
1 rw, err := l.Accept()
/usr/local/go/src/net/http/server.go:1794
服务端接受请求后的处理,以单独的goroutine处理
1 // Serve a new connection. 2 func (c *conn) serve(ctx context.Context) {......}
待续...
标签:http,server,源码,usr,go,net From: https://www.cnblogs.com/supermarx/p/17156688.html