[fix] support target and forward

This commit is contained in:
yawnt 2013-11-08 20:56:26 +01:00
parent bbe3bfdf98
commit 961d2f9400

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