security: limit socketio to 1M chars
parent
085ab452a0
commit
ab127289c4
|
@ -56,6 +56,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
||||||
* https://github.com/socketio/socket.io/issues/2276#issuecomment-147184662 (not totally true, actually, see above)
|
* https://github.com/socketio/socket.io/issues/2276#issuecomment-147184662 (not totally true, actually, see above)
|
||||||
*/
|
*/
|
||||||
cookie: false,
|
cookie: false,
|
||||||
|
maxHttpBufferSize: 10E3,
|
||||||
});
|
});
|
||||||
|
|
||||||
io.use((socket, next) => {
|
io.use((socket, next) => {
|
||||||
|
|
Loading…
Reference in New Issue