envoyproxy/gateway

Fix conformance for GatewayHTTPSListenerDetectMisdirectedRequests

Aperta

#5879 aperta il 1 mag 2025

 (14 commenti) (2 reazioni) (1 assegnatario)Go (802 fork)auto 404
area/envoyhelp wanted

Metriche repository

Star
 (2871 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor