If the upstream is a normal HTTPs server, it expects to have http/2 negotiated
via alpn. If alpn isn't provided, it will assume http/1.1. If our edge proxy is
sending down http/2 because app_protocol was specified, this results in a
protocol mismatch, and invalid requests/responses will be seen.
This ensures that the negotiation happens as expected.
If the upstream is a normal HTTPs server, it expects to have http/2 negotiated via alpn. If alpn isn't provided, it will assume http/1.1. If our edge proxy is sending down http/2 because
app_protocol
was specified, this results in a protocol mismatch, and invalid requests/responses will be seen.This ensures that the negotiation happens as expected.