Valentin Trinqué abd49a6c48
rpc: set Request.GetBody for client requests (#24292)
When talking to an HTTP2 server, there are situations where it needs to
"rewind" the Request.Body. To allow this, we have to set up the Request.GetBody
function to return a brand new instance of the body.

If not set, we can end up with the following error:

    http2: Transport: cannot retry err [http2: Transport received Server's graceful shutdown GOAWAY] after Request.Body was written; define Request.GetBody to avoid this error

See this commit for more information: cffdcf672a
2022-01-27 10:59:05 +01:00
..
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2021-08-25 18:46:29 +02:00
2021-08-25 18:46:29 +02:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00
2022-01-20 12:45:07 +01:00