mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 18:00:10 +00:00
benchmark: Add resume() in static_http_server
This commit is contained in:
parent
db5ee0b3de
commit
ae6f4b32c4
@ -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…
Reference in New Issue
Block a user