mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
security: limit socketio to 1M chars
This commit is contained in:
parent
085ab452a0
commit
ab127289c4
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
*/
|
||||
cookie: false,
|
||||
maxHttpBufferSize: 10E3,
|
||||
});
|
||||
|
||||
io.use((socket, next) => {
|
||||
|
|
Loading…
Reference in a new issue