summaryrefslogtreecommitdiff
path: root/benchmark/http_simple.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-01-10 23:00:58 -0800
committerRyan Dahl <ry@tinyclouds.org>2010-01-10 23:00:58 -0800
commit8e0dad4a27dd0604e334eec02403d22c6007c2c5 (patch)
treefdb0112c4540d2ef4d4bc82acc02037ca85a63c4 /benchmark/http_simple.js
parent1b2c57907d0aa0a514083b77b8b7b44ddbca3864 (diff)
downloadnodejs-8e0dad4a27dd0604e334eec02403d22c6007c2c5.tar.gz
nodejs-8e0dad4a27dd0604e334eec02403d22c6007c2c5.tar.bz2
nodejs-8e0dad4a27dd0604e334eec02403d22c6007c2c5.zip
Update http benchmark script to new url api.
Diffstat (limited to 'benchmark/http_simple.js')
-rw-r--r--benchmark/http_simple.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js
index 1cd6124ce..37429bf56 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];