envoyproxy/gateway

Fix conformance for GatewayHTTPSListenerDetectMisdirectedRequests

Offen

#5.879 geöffnet am 01.05.2025

 (14 Kommentare) (2 Reaktionen) (1 zugewiesene Person)Go (802 Forks)auto 404
area/envoyhelp wanted

Repository-Metriken

Stars
 (2.871 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

We should return 421 when http/2 connection coalescing is detected

one workaround for now, is to disable http/2 ALPN when overlapping hostnames are detected, with the OverlappingTLSConfig condition added to the listeners https://gateway-api.sigs.k8s.io/geps/gep-3567/

I might be technically not deep enough into this https://gateway-api.sigs.k8s.io/geps/gep-3567/ states an option b of returning 421 for this. Is there a reason that envoy gateway is doing that which i am missing and/or could this be tracked as a followup in this or a new issue? Ideally it would be nice to not break http2 support like this :)

Originally posted by @MTRNord in #2675

Contributor Guide