Max*_*Max 5 connection-pooling go httpserver
我知道 Go 语言中的 http.Client 有 Transport 类型的连接池
但是http.Server中没有Transport
我希望访问服务器的池。
更新
我正在学习 Go 源代码 https://code.google.com/p/go/source/browse/src/pkg/net/http/server.go#1087
看来这个函数的答案是没有Pool。
可能有人知道如何覆盖该功能?我是否必须创建包的洞副本?
我在疯狂邮件列表上得到了答案。
https://groups.google.com/forum/#!topic/golang-nuts/eoBsx0Sl3Co