Skip to content

Commit

Permalink
[fix] Default to a sane value
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Jun 24, 2016
1 parent 4263f26 commit 0328a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WebSocketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function WebSocketServer(options, callback) {
disableHixie: false,
clientTracking: true,
perMessageDeflate: true,
maxPayload: null
maxPayload: 100 * 1024 * 1024
}).merge(options);

if (!options.isDefinedAndNonNull('port') && !options.isDefinedAndNonNull('server') && !options.value.noServer) {
Expand Down

0 comments on commit 0328a8f

Please sign in to comment.