Commit 25c06a3a authored by Dominic Tarr's avatar Dominic Tarr

[fix] handler variable in createServer was global (!)

parent 03475a59
......@@ -128,7 +128,7 @@ exports.setMaxSockets = function (value) {
exports.createServer = function () {
var args = Array.prototype.slice.call(arguments),
callback = typeof args[0] === 'function' && args.shift(),
options = {}, port, host, forward, silent, proxy, server;
options = {}, port, host, forward, silent, proxy, server, handler;
if (args.length >= 2) {
port = args[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment