From ae6f4b32c47e0597945b36a22e4b69c88a706145 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 17 Jan 2013 14:54:59 -0800 Subject: [PATCH] benchmark: Add resume() in static_http_server --- benchmark/static_http_server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/benchmark/static_http_server.js b/benchmark/static_http_server.js index 4884224436..b3a83785e3 100644 --- a/benchmark/static_http_server.js +++ b/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();