Description: Fix upload default size to a sane value
Author: Arnout Kazemier <https://github.com/3rd-Eden>
Origin: upstream, https://github.com/websockets/ws/commit/0328a8f49f004f98d2913016214e93b2fc2713bc
Bug: https://www.npmjs.com/advisories/120
Bug-Debian: https://bugs.debian.org/927671
Reviewed-By: Xavier Guimard <yadd@debian.org>
Last-Update: 2019-04-21

--- a/lib/WebSocketServer.js
+++ b/lib/WebSocketServer.js
@@ -37,7 +37,7 @@
     disableHixie: false,
     clientTracking: true,
     perMessageDeflate: true,
-    maxPayload: null
+    maxPayload: 100 * 1024 * 1024
   }).merge(options);
 
   if (!options.isDefinedAndNonNull('port') && !options.isDefinedAndNonNull('server') && !options.value.noServer) {
