The serve reverse proxy chose h2c only for HTTP/2 requests with a gRPC
content type. Connect RPC streaming to a plaintext backend went over
HTTP/1.1 and failed. HTTPHandler now has a BackendHTTP field. When it
is "h2c", the proxy uses h2c for every request to that backend except
an HTTP/1.1 Upgrade request.
The new --backend-http=h2c flag on serve and funnel sets the field. The
flag is rejected for TCP forwarding, for text and path targets, and for
HTTPS targets. serve status shows "(h2c)" after the proxy target.
Updates #18483
Signed-off-by: Brendan Creane <[email protected]>