Skip to content

Commit 25c06a3

Browse files
committed
[fix] handler variable in createServer was global (!)
1 parent 03475a5 commit 25c06a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node-http-proxy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ exports.setMaxSockets = function (value) {
128128
exports.createServer = function () {
129129
var args = Array.prototype.slice.call(arguments),
130130
callback = typeof args[0] === 'function' && args.shift(),
131-
options = {}, port, host, forward, silent, proxy, server;
131+
options = {}, port, host, forward, silent, proxy, server, handler;
132132

133133
if (args.length >= 2) {
134134
port = args[0];

0 commit comments

Comments
 (0)