From 25aae75fd6abf1bf56c46dedbf97d66762a063b9 Mon Sep 17 00:00:00 2001
From: Zachary Carter <zack.carter@gmail.com>
Date: Fri, 8 Jun 2012 14:42:32 -0700
Subject: [PATCH] Enforce post size limit in the router only - issue #1713

---
 bin/browserid | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/bin/browserid b/bin/browserid
index 3cb11b874..8806efb48 100755
--- a/bin/browserid
+++ b/bin/browserid
@@ -60,10 +60,6 @@ app.use(i18n.abide({
   disable_locale_check: config.get('disable_locale_check')
 }));
 
-// 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");
-- 
GitLab