socketio: increase socketio limit to 1MiB

pull/4760/head
John McLear 2021-02-12 13:55:48 +00:00 committed by Richard Hansen
parent fcd9adf20d
commit 55c96e5577
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,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: 10E3,
maxHttpBufferSize: 1 << 20, // 1MiB
});
io.use((socket, next) => {