diff --git a/bin/verifier b/bin/verifier index 5e7e45d3861ecc8e6c64d1e13e7ab3373f90a671..50210785b86e0f0db18e9fa0b9e7829c4f6042bb 100755 --- a/bin/verifier +++ b/bin/verifier @@ -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");