阅读背景:

如何限制客户端通过websocket发送的数据量?

来源:互联网 

I am using the ws module and I'd like to limit the amount of data being sent by the client over websocket to 1Mb. This will prevent a malicious user from sending huge amounts of data (in terms of GB) causing the server to run out of memory, which would cause denial of service errors for every normal user. module and I'd like to limit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: