Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
tls: Log at debug for TLS SNI choice
Browse files Browse the repository at this point in the history
  • Loading branch information
meschbach committed Apr 19, 2020
1 parent b148d79 commit 8f9b379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -138,7 +138,7 @@ class Delta {
cert: socketOptions.cert,
SNICallback: (servername, cb) => {
const ctx = server.sni[servername];
this.logger.debug("TLS SNI request", {name,port,servername,cert: ctx.cert});
this.logger.debug("TLS SNI request", {name,port,servername,cert: (ctx||{}).cert});
cb(null,ctx);
}
};
Expand Down

0 comments on commit 8f9b379

Please sign in to comment.