joyent/node — Issue #2664: [Error: Parse Error] 
Author: binishkaspar
Created: 2012-02-01 18:49:58+00:00
State: open

When HTTPServer receives more concurrent request, it throws an exception **[Error: Parse Error] **. Error can be reproduced by the following code

``` javascript
var http = require('http');
var server = http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
});
server.listen(1337, "127.0.0.1");
server.on('clientError', function(error){
console.log('Client Error', error);
});
console.log('Server running at http://127.0.0.1:1337/');
```

And give more request by using ***ab -n 100 -c 10 http://127.0.0.1:1337/***