mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
benchmark: Add resume() in static_http_server
This commit is contained in:
@@ -31,6 +31,7 @@ server.listen(port, function() {
|
||||
path: '/',
|
||||
agent: agent
|
||||
}, function(res) {
|
||||
res.resume();
|
||||
res.on('end', function() {
|
||||
if (++responses === n) {
|
||||
server.close();
|
||||
|
||||
Reference in New Issue
Block a user