chimney (burn some logs)

This commit is contained in:
AJ ONeal 2019-10-27 04:41:05 -06:00
parent de051dd3a2
commit 8d464d6810
2 changed files with 0 additions and 2 deletions

View File

@ -119,7 +119,6 @@ function wrapDefaultSniCallback(opts, greenlock, secureOpts) {
function createSecureServer(secureOpts, fn) {
var major = process.versions.node.split(".")[0];
console.log("debug set SNICallback:", secureOpts);
// TODO can we trust earlier versions as well?
if (major >= 12) {
secureOpts.allowHTTP1 = true;

1
sni.js
View File

@ -122,7 +122,6 @@ sni.create = function(opts, greenlock, secureOpts) {
// TODO don't get unknown certs at all, rely on auto-updates from greenlock
// Note: greenlock.renew() will return an existing fresh cert or issue a new one
return greenlock.renew({ servername: servername }).then(function(matches) {
console.log("debug matches", matches);
var meta = getCachedMeta(servername);
if (!meta) {
meta = _cache[servername] = { secureContext: {} };