-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Description
I see this many times a day in the logs. The relevant snippet of my code looks like this:
sockServer.on('connection', function(conn) {
console.log(conn); // This is null sometimes, I don't see how that can be.
if (_.isNull(conn)) {
return;
}
conn.on('data', function(message) {
// Let's see what's in this message.
handleMessage(message, conn);
});
conn.on('close', function() {
channels.manager.removeConnection(conn);
});
});
server = https.createServer(sslOptions);
sockServer.installHandlers(server, {prefix: '/socket'});
server.listen(9999, '0.0.0.0');
mariocasciaro and padcom
Metadata
Metadata
Assignees
Labels
No labels