Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte

This commit is contained in:
cronopio 2013-11-11 11:22:23 -05:00
commit 54eceb4a86

View File

@ -96,7 +96,7 @@ web_o = Object.keys(web_o).map(function(pass) {
common.setupOutgoing(options.ssl || {}, options, req, 'forward')
);
(options.buffer || req).pipe(forwardReq);
return res.end();
if(!options.target) { return res.end(); }
}
// Request initalization