Created
August 8, 2016 10:57
-
-
Save bzoz/4bedbd51c3160875144c1dd108673eaa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
var len = 1024 * 1024; | |
var chunk = Buffer.alloc(len, 'x'); | |
var server = http.createServer(function(req, res) { | |
res.write(chunk); | |
res.end() | |
}); | |
server.listen(1234, function() { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment