add some comments

This commit is contained in:
AJ ONeal 2018-11-05 06:58:50 +00:00
parent 0476905a5b
commit da89714865
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ module.exports.create = function (opts) {
var server;
var plainServer;
// If there is only one handler for the `listening` (i.e. TCP bound) event
// then we want to use it as HTTPS (backwards compat)
if (!fn) {
fn = fnPlain;
fnPlain = null;