Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Limit post size to help against DoS attacks #446
This won't solve the problem completely, but it would help.
Read more about this problem here:
The Socket.IO guys already made a commit for this a month ago:
I think we should be able to specify a max post size and the bodyParser should kill what exceeds that. The implementation should probably be done in the file: https://github.com/senchalabs/connect/blob/master/lib/middleware/json.js