From cf0f243d495b6bae008ba85ddd2443cef5446816 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Thu, 1 Dec 2011 01:36:20 -0700
Subject: [PATCH] disable http agent in http_forward - it has been capping us
 at five simul forwarded requests per backend process (dbwriter, keysigner)

---
 lib/http_forward.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/http_forward.js b/lib/http_forward.js
index deafa9514..46b976815 100644
--- a/lib/http_forward.js
+++ b/lib/http_forward.js
@@ -14,7 +14,8 @@ module.exports = function(dest, req, res, cb) {
     host: u.hostname,
     port: u.port,
     path: u.pathname,
-    method: req.method
+    method: req.method,
+    agent: false
   }, function(pres) {
     res.statusCode = pres.statusCode;
     // forward along Content-Type and Content-Length, if available
-- 
GitLab