Skip to content

Conversation

@tete17
Copy link

@tete17 tete17 commented Dec 24, 2025

What type of PR is this?

When multiple HTTPS listeners with different hostnames share the same address:port and HTTP/3 is enabled, Envoy rejects the configuration with "duplicate matcher" errors.

This PR adds ServerNames to FilterChainMatch for QUIC listeners.

What this PR does / why we need it:

It is impossible to enable http3 on a cluster with mulitple domains witouth this.

Which issue(s) this PR fixes:
Fixes #5660

@tete17 tete17 requested a review from a team as a code owner December 24, 2025 16:12
@tete17 tete17 force-pushed the fix/http3-duplicate-matcher-5660 branch from 57cd2a8 to 5d4fe2e Compare December 24, 2025 16:13
Previously, the addServerNamesMatch function skipped adding ServerNames
to FilterChainMatch for UDP/QUIC listeners entirely. This caused
"duplicate matcher" errors when multiple HTTPS listeners with different
hostnames shared the same address:port with HTTP/3 enabled.

Fixes: envoyproxy#5660

Signed-off-by: Miguel Sacristán <[email protected]>
Add test case for HTTP/3 with multiple HTTPS listeners on the same
port with different hostnames.

Signed-off-by: Miguel Sacristán <[email protected]>
@tete17 tete17 force-pushed the fix/http3-duplicate-matcher-5660 branch from 5d4fe2e to 32b1e4a Compare December 24, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nil pointer exception when enabling http3

1 participant