diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-01-10 23:00:58 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-01-10 23:00:58 -0800 |
commit | 8e0dad4a27dd0604e334eec02403d22c6007c2c5 (patch) | |
tree | fdb0112c4540d2ef4d4bc82acc02037ca85a63c4 /benchmark/http_simple.js | |
parent | 1b2c57907d0aa0a514083b77b8b7b44ddbca3864 (diff) | |
download | nodejs-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.js | 2 |
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]; |