I just want to bench the simple server accept new connection now I create a new simple tcp server and use tcp short connection to bench it the result is also that client have many dial i/o timeout does it is client's question ??
在 2017年6月9日星期五 UTC+8下午9:28:55,Shawn Milochik写道: > > I think the setting is more likely to need an increase on the client than > the server. > > Are you using HTTP/1 or HTTP/2? If HTTP/1, set the MaxIdleConnsPerHost > value on your client's Transport. > > More info: > > https://golang.org/pkg/net/http/#Transport > https://paperairoplane.net/?p=556 > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.