summaryrefslogtreecommitdiff
path: root/benchmark/http_simple.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-02-17 15:36:50 -0800
committerRyan Dahl <ry@tinyclouds.org>2010-02-17 15:37:12 -0800
commit7c1c89fc29ccb1a27fb132e9299b5bb240b51df5 (patch)
tree0003937c1c1cdeb03dc20c4c7bc8c8038ab911b9 /benchmark/http_simple.js
parent916d592be185eee86d16c87df120ed70f61186fa (diff)
downloadnode-new-7c1c89fc29ccb1a27fb132e9299b5bb240b51df5.tar.gz
Update benchmark script to new API
Diffstat (limited to 'benchmark/http_simple.js')
-rw-r--r--benchmark/http_simple.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmark/http_simple.js b/benchmark/http_simple.js
index 810633a6ad..75295affb2 100644
--- a/benchmark/http_simple.js
+++ b/benchmark/http_simple.js
@@ -53,6 +53,5 @@ http.createServer(function (req, res) {
}
);
res.write(body);
-
- res.finish();
+ res.close();
}).listen(8000);