The http2 client flush immediately after write headers, so there have two TCP packets separated.
https://github.com/golang/net/blob/master/http2/transport.go#L1617
When a large number of requests, this may cause a performance loss.
So should combine the header and body packets, and do not flush immediately after write headers?
The http2 client flush immediately after write headers, so there have two TCP packets separated.
https://github.com/golang/net/blob/master/http2/transport.go#L1617
When a large number of requests, this may cause a performance loss.
So should combine the header and body packets, and do not flush immediately after write headers?