cilium (c1): enable gateway ALPN so TLS listeners offer HTTP/2 #1789

Closed
opened 2026-11-23 03:42:43 +00:00 by ginjiruu · 0 comments
Owner

c1's Gateway API listeners negotiate no ALPN (enable-gateway-api-alpn=false, the chart default), so every browser connection to cilium-internal and its ListenerSets is HTTP/1.1. Browsers cap HTTP/1.1 at six connections per host, so a few tabs holding SSE streams exhaust the pool and the page stops sending requests (found while testing swift-datastar on c1, ginjiruu/swift-datastar#3). portable already sets gatewayAPI.enableAlpn: true (23797f60).

Fix: set gatewayAPI.enableAlpn: true in clusters/c1/cilium/release/values.yaml. No c1 Service sets appProtocol, so upstreams stay HTTP/1.1. Envoy is v1.39.6, patched for the 2026 HTTP/2 advisories (CVE-2026-47774, CVE-2026-73550).

Done when: openssl s_client -connect <cilium-internal>:443 -servername <app host> -alpn h2,http/1.1 prints ALPN protocol: h2.

c1's Gateway API listeners negotiate no ALPN (`enable-gateway-api-alpn=false`, the chart default), so every browser connection to cilium-internal and its ListenerSets is HTTP/1.1. Browsers cap HTTP/1.1 at six connections per host, so a few tabs holding SSE streams exhaust the pool and the page stops sending requests (found while testing swift-datastar on c1, ginjiruu/swift-datastar#3). portable already sets `gatewayAPI.enableAlpn: true` (23797f60). Fix: set `gatewayAPI.enableAlpn: true` in `clusters/c1/cilium/release/values.yaml`. No c1 Service sets `appProtocol`, so upstreams stay HTTP/1.1. Envoy is v1.39.6, patched for the 2026 HTTP/2 advisories (CVE-2026-47774, CVE-2026-73550). Done when: `openssl s_client -connect <cilium-internal>:443 -servername <app host> -alpn h2,http/1.1` prints `ALPN protocol: h2`.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1789
No description provided.