Unverified Commit 4c7c1cf9 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #80 from ethereum/yann300-patch-6

Set max size Frama/Message
parents fbfe18d7 59a5149e
...@@ -22,7 +22,9 @@ class WebSocket { ...@@ -22,7 +22,9 @@ class WebSocket {
this.wsServer = new WebSocketServer({ this.wsServer = new WebSocketServer({
httpServer: this.server, httpServer: this.server,
autoAcceptConnections: false autoAcceptConnections: false,
maxReceivedFrameSize: 131072,
maxReceivedMessageSize: 10 * 1024 * 1024,
}) })
this.wsServer.on('request', (request) => { this.wsServer.on('request', (request) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment