From 615e47114ba2f2f44e2388c9fb3ae6fd1536c8bf Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 14 Feb 2021 16:53:48 +0000 Subject: [PATCH] Revert "socketio: increase socketio limit to 1MiB" This reverts commit 55c96e557767220fe2b6a235e41c7c08067cb4ce. --- src/node/hooks/express/socketio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/hooks/express/socketio.js b/src/node/hooks/express/socketio.js index c6ea079b4..dd73e1cfa 100644 --- a/src/node/hooks/express/socketio.js +++ b/src/node/hooks/express/socketio.js @@ -74,7 +74,7 @@ exports.expressCreateServer = (hookName, args, cb) => { * https://github.com/socketio/socket.io/issues/2276#issuecomment-147184662 (not totally true, actually, see above) */ cookie: false, - maxHttpBufferSize: 1 << 20, // 1MiB + maxHttpBufferSize: 10E3, }); io.on('connect', (socket) => {