-
Notifications
You must be signed in to change notification settings - Fork 3
Closed

Description
An example ircdkit
server can be crashed by using netcat.
leet haker
$ netcat localhost 6667
^C
$
servar
~/node_modules/ircdkit/lib/index.js:28
if (client._socket) throw new Error('Cannot remove a connection with an active socket.');
^
Error: Cannot remove a connection with an active socket.
at removeClient (~/node_modules/ircdkit/lib/index.js:28:29)
at EventEmitter.<anonymous> (~/node_modules/ircdkit/lib/index.js:50:4)
at emitOne (events.js:116:13)
at EventEmitter.emit (events.js:211:7)
at Socket.<anonymous> (~/node_modules/ircdkit/lib/connection.js:77:15)
at emitNone (events.js:111:20)
at Socket.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
Is there a way to fix this?
Metadata
Metadata
Assignees
Labels
No labels