mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
fixed a typo
This commit is contained in:
@@ -392,7 +392,7 @@ func benchmarkNetHTTPClientGetEndToEndInmemory(b *testing.B, parallelism int) {
|
||||
|
||||
c := &http.Client{
|
||||
Transport: &http.Transport{
|
||||
Dial: func(_, _ string) { return ln.Dial() },
|
||||
Dial: func(_, _ string) (net.Conn, error) { return ln.Dial() },
|
||||
MaxIdleConnsPerHost: parallelism * runtime.GOMAXPROCS(-1),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user