From 8e0dad4a27dd0604e334eec02403d22c6007c2c5 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 10 Jan 2010 23:00:58 -0800 Subject: [PATCH] Update http benchmark script to new url api. --- benchmark/http_simple.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js index 1cd6124ced..37429bf56e 100644 --- a/benchmark/http_simple.js +++ b/benchmark/http_simple.js @@ -14,7 +14,7 @@ for (var i = 0; i < 20*1024; i++) { stored = {}; http.createServer(function (req, res) { - var commands = req.uri.path.split("/"); + var commands = req.url.split("/"); var command = commands[1]; var body = ""; var arg = commands[2];