metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
143 stars 10 forks source link

connection: reject invalid event message #315

Closed belochub closed 6 years ago

belochub commented 6 years ago

Reject event messages having anything other than array provided as event arguments.

belochub commented 6 years ago

Landed in https://github.com/metarhia/jstp/commit/2f7db7947c36f8b6eb0282a3d7c54a0862613d22.