-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A recent change passed in ClientHello into loadCertFromStorage. Then it used hello.ServerName directly, but this is empty if the client connects via IP address. Previously, we passed in the name from the ClientHello which would be the SNI if set, or the conn IP. We now use getNameFromClientHello() as we should. Fixes caddyserver/caddy#5758
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters