Skip to content
Snippets Groups Projects
Commit b580155a authored by Lloyd Hilaiel's avatar Lloyd Hilaiel Committed by Austin King
Browse files

limit post bodies in verifier. closes #878

parent 0594ffc3
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,10 @@ app.use(express.logger({
}
}));
// limit all content bodies to 10kb, at which point we'll forcefully
// close down the connection.
app.use(express.limit("10kb"));
var statsd_config = config.get('statsd');
if (statsd_config && statsd_config.enabled) {
logger_statsd = require("connect-logger-statsd");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment