Skip to content

Commit 0328a8f

Browse files
committed
[fix] Default to a sane value
1 parent 4263f26 commit 0328a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebSocketServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function WebSocketServer(options, callback) {
3737
disableHixie: false,
3838
clientTracking: true,
3939
perMessageDeflate: true,
40-
maxPayload: null
40+
maxPayload: 100 * 1024 * 1024
4141
}).merge(options);
4242

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

0 commit comments

Comments
 (0)