mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 23:10:54 +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)
|
openssl::server_name(ssl)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(!name)
|
||||||
|
return true;
|
||||||
|
|
||||||
log::debug
|
log::debug
|
||||||
{
|
{
|
||||||
log, "%s offered SNI '%s'",
|
log, "%s offered SNI '%s'",
|
||||||
|
|
Loading…
Reference in a new issue