Skip to content

Commit 54eceb4

Browse files
committed
Merge branch 'caronte' of github.com:nodejitsu/node-http-proxy into caronte
2 parents 7a3f6df + 961d2f9 commit 54eceb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/http-proxy/passes/web-incoming.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ web_o = Object.keys(web_o).map(function(pass) {
9696
common.setupOutgoing(options.ssl || {}, options, req, 'forward')
9797
);
9898
(options.buffer || req).pipe(forwardReq);
99-
return res.end();
99+
if(!options.target) { return res.end(); }
100100
}
101101

102102
// Request initalization

0 commit comments

Comments
 (0)