add some comments
This commit is contained in:
parent
0476905a5b
commit
da89714865
2
index.js
2
index.js
|
@ -114,6 +114,8 @@ module.exports.create = function (opts) {
|
||||||
var server;
|
var server;
|
||||||
var plainServer;
|
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) {
|
if (!fn) {
|
||||||
fn = fnPlain;
|
fn = fnPlain;
|
||||||
fnPlain = null;
|
fnPlain = null;
|
||||||
|
|
Loading…
Reference in New Issue