cloudfoundry / gorouter

CF Router
Apache License 2.0
441 stars 226 forks source link

revert: remove deprecated buildnametocertificate call #405

Closed maxmoehl closed 7 months ago

maxmoehl commented 7 months ago

The refactor had unintended side-effects: when selecting a certificate the NameToCertificate map which is built using this call ensured that more specific certificates are preferred over wildcard matches. We rely on that behaviour to present the correct certificate to clients.

This reverts commit 6c6bd520ad939910fe8c0830558f6dd179e7d113.

Resolves: cloudfoundry/routing-release#401