1 var http = require('http');
12 for (var i = 0; i < bytes; i++) {
16 var server = http.createServer(function(req, res) {
18 'Content-Type': 'text/plain',
19 'Content-Length': body.length
24 server.listen(port, function() {
25 var agent = new http.Agent();
26 agent.maxSockets = concurrency;
28 for (var i = 0; i < n; i++) {
35 res.on('end', function() {
36 if (++responses === n) {