minio/cmd/rpc
Anis Elleuch 4c23e6fa55 rpc: Avoid using Pool since it conflicts with http2 (#7467)
A race is detected between a bytes.Buffer generated with cmd/rpc.Pool
and http2 module. An issue is raised in golang (https://github.com/golang/go/issues/31192).

Meanwhile, this commit disables Pool in RPC code and it generates a
new 1kb of bytes.Buffer for each RPC call.
2019-04-02 13:34:21 -07:00
..
client.go rpc: Avoid using Pool since it conflicts with http2 (#7467) 2019-04-02 13:34:21 -07:00
client_test.go Support HTTP/2.0 (#7204) 2019-02-14 17:53:46 -08:00
pool.go Introduce staticcheck for stricter builds (#7035) 2019-02-13 18:29:36 +05:30
server.go rpc: Avoid using Pool since it conflicts with http2 (#7467) 2019-04-02 13:34:21 -07:00
server_test.go rpc: Avoid using Pool since it conflicts with http2 (#7467) 2019-04-02 13:34:21 -07:00