mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd::net: Bail early if no SNI sent by client.
This commit is contained in:
parent
a9b098a280
commit
a6886dafe6
1 changed files with 3 additions and 0 deletions
|
@ -1631,6 +1631,9 @@ try
|
|||
openssl::server_name(ssl)
|
||||
};
|
||||
|
||||
if(!name)
|
||||
return true;
|
||||
|
||||
log::debug
|
||||
{
|
||||
log, "%s offered SNI '%s'",
|
||||
|
|
Loading…
Reference in a new issue