mirror of https://github.com/nodejs/node.git
parent
fb53986a80
commit
150053b3fa
|
@ -4,7 +4,7 @@ var defaultLag = parseInt(process.argv[2], 10) || 100;
|
|||
|
||||
http.createServer(function(req, res) {
|
||||
res.writeHead(200, { 'content-type': 'text/plain',
|
||||
'content-lengt': '2' });
|
||||
'content-length': '2' });
|
||||
|
||||
var lag = parseInt(req.url.split("/").pop(), 10) || defaultLag;
|
||||
setTimeout(function() {
|
||||
|
|
Loading…
Reference in New Issue