mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte
This commit is contained in:
commit
54eceb4a86
@ -96,7 +96,7 @@ web_o = Object.keys(web_o).map(function(pass) {
|
|||||||
common.setupOutgoing(options.ssl || {}, options, req, 'forward')
|
common.setupOutgoing(options.ssl || {}, options, req, 'forward')
|
||||||
);
|
);
|
||||||
(options.buffer || req).pipe(forwardReq);
|
(options.buffer || req).pipe(forwardReq);
|
||||||
return res.end();
|
if(!options.target) { return res.end(); }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Request initalization
|
// Request initalization
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user