Don't bubble up errors from the client to the server

This commit is contained in:
roblabla 2015-08-15 16:25:19 +00:00
parent a4f34a7943
commit c7841e98d8

View File

@ -34,9 +34,6 @@ Server.prototype.listen = function(port, host) {
};
client.id = nextId++;
self.clients[client.id] = client;
client.on('error', function(err) {
self.emit('error', err);
});
client.on('end', function() {
delete self.clients[client.id];
});