Skip to content

Commit

Permalink
server: implement maxHttpBufferSize for ws
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Jun 24, 2016
1 parent 83bee03 commit 17ec215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function Server(opts){
this.ws = new WebSocketServer({
noServer: true,
clientTracking: false,
perMessageDeflate: this.perMessageDeflate
perMessageDeflate: this.perMessageDeflate,
maxPayload: this.maxHttpBufferSize
});
}
}
Expand Down

0 comments on commit 17ec215

Please sign in to comment.