Browse Source

benchmark: Add resume() in static_http_server

v0.9.7-release
isaacs 12 years ago
parent
commit
ae6f4b32c4
  1. 1
      benchmark/static_http_server.js

1
benchmark/static_http_server.js

@ -31,6 +31,7 @@ server.listen(port, function() {
path: '/',
agent: agent
}, function(res) {
res.resume();
res.on('end', function() {
if (++responses === n) {
server.close();

Loading…
Cancel
Save