Skip to content

Treat every same-port SDS peer as overlapping #9697

Open

Description

@zhaohuabing

Reported by Codex:

Treat every same-port SDS peer as overlapping

When the SDS listener has an explicit hostname, this loop only downgrades non-SDS peers whose known SAN overlaps that hostname. However the SDS certificate's SANs are the opaque part, and EG does not require the served cert to contain only the listener hostname; an SDS server for sds.example.com can return a cert that also covers foo.example.com. In that configuration a client can open an h2 connection to the SDS listener and coalesce foo.example.com requests onto it, while the foo.example.com listener remains on h2 because its SANs do not match sds.example.com. Any same-port peer of a valid SDS-backed HTTPS listener should be treated as overlapping unless ALPN is explicitly configured.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #9525 (comment)

Activity

  1. github-actions commented on Sep 6, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  2. github-actions commented on Oct 11, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  3. yuminn-k commented on Oct 31, 2026

    @yuminn-k

    @zhaohuabing I'd like to pick this up: when two or more valid HTTPS listeners share a port with an SDS listener, default all of them to HTTP/1.1 (unless ALPN is set via ClientTrafficPolicy), as described here. I'll disclose AI assistance in the PR.

  4. github-actions commented on Nov 30, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions