diff --git a/lib/http_forward.js b/lib/http_forward.js index deafa9514fdfb9b6bdfc1b737fc3fcc8e0a6c3b1..46b976815aa19b598db0e36cb61df23ef20d7835 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