From 2bc162b388aa7b139a8807d4479030e4b168f2f7 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 3 Mar 2021 13:58:44 +0100 Subject: add linter, minor tweaks, 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add debug logging to connect() - readme: document verifyAlpnId() 📝 --- connect.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'connect.js') diff --git a/connect.js b/connect.js index d508d35..f20533f 100644 --- a/connect.js +++ b/connect.js @@ -1,5 +1,6 @@ 'use strict' +const debug = require('debug')('gemini:connect') const {connect: connectTls} = require('tls') const { DEFAULT_PORT, @@ -12,6 +13,7 @@ const connectToGeminiServer = (opt, cb) => { cb = opt opt = {} } + debug('connectToGeminiServer', opt) const { hostname, port, -- cgit v1.3