socketcluster icon indicating copy to clipboard operation
socketcluster copied to clipboard

Add safe mode so that SC rejects any invalid non-JSON packet

Open jondubois opened this issue 6 years ago • 0 comments

Right now SC supports non-JSON strings sent using socket.send('This is a message'). It would be nice to add a config option so that it can be disabled and only allow valid SC JSON strings. This could make certain kinds of DoS attacks more expensive and complicated.

jondubois avatar Oct 03 '19 20:10 jondubois