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

Set max size Frama/Message
pull/454/head
yann300 5 years ago committed by GitHub
commit 4c7c1cf9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/websocket.js

@ -22,7 +22,9 @@ class WebSocket {
this.wsServer = new WebSocketServer({
httpServer: this.server,
autoAcceptConnections: false
autoAcceptConnections: false,
maxReceivedFrameSize: 131072,
maxReceivedMessageSize: 10 * 1024 * 1024,
})
this.wsServer.on('request', (request) => {

Loading…
Cancel
Save