Correct comment in native connect hook

This commit is contained in:
Tim Perry
2025-07-24 16:26:38 +02:00
parent 68d465f4bf
commit 97c53f4b35
+1 -2
View File
@@ -130,11 +130,10 @@
this.state = 'ignored';
}
} else if (DEBUG_MODE) {
// Should just be unix domain sockets - UDP & TCP are covered above
console.log(`Ignoring ${sockType} connection`);
this.state = 'ignored';
}
// N.b. we ignore all non-TCP connections: both UDP and Unix streams
},
onLeave: function (retval) {
if (!DEBUG_MODE || this.state === 'ignored') return;