Today, when nghttp2 observes an empty :authority, it rejects the HEADERS frame and resets the stream. It seems this is problematic, since it seems legitimate to have an empty :authority, similar to an empty host, see https://tools.ietf.org/html/rfc7230#section-5.4.
Should we have a default authority configurable for HCM that is used when :authority is empty? My inclination is to add this.
When a default authority is not configured, should we have Envoy do something sensible (pick default virtual host, pick first virtual host, etc.) or continue to reject the stream? I don't have a strong feeling on this one.
For context, we've seen this situation arise in one of our integration test probers.
Today, when nghttp2 observes an empty
:authority, it rejects the HEADERS frame and resets the stream. It seems this is problematic, since it seems legitimate to have an empty:authority, similar to an emptyhost, see https://tools.ietf.org/html/rfc7230#section-5.4.Should we have a default authority configurable for HCM that is used when
:authorityis empty? My inclination is to add this.When a default authority is not configured, should we have Envoy do something sensible (pick default virtual host, pick first virtual host, etc.) or continue to reject the stream? I don't have a strong feeling on this one.
For context, we've seen this situation arise in one of our integration test probers.