diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-02-17 15:36:50 -0800 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-02-17 15:37:12 -0800 |
commit | 7c1c89fc29ccb1a27fb132e9299b5bb240b51df5 (patch) | |
tree | 0003937c1c1cdeb03dc20c4c7bc8c8038ab911b9 /benchmark/http_simple.js | |
parent | 916d592be185eee86d16c87df120ed70f61186fa (diff) | |
download | node-new-7c1c89fc29ccb1a27fb132e9299b5bb240b51df5.tar.gz |
Update benchmark script to new API
Diffstat (limited to 'benchmark/http_simple.js')
-rw-r--r-- | benchmark/http_simple.js | 3 |
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); |