refactor to use http-raw for lt server incoming

- http raw exposes a socket to the req/res pair
- cleanup client to be more resilient
- add test for queued requests
This commit is contained in:
Roman Shtylman
2012-12-17 14:23:12 -05:00
parent 741db27084
commit 79ca069c38
6 changed files with 354 additions and 323 deletions

View File

@@ -23,7 +23,9 @@ process.once('uncaughtException', function(err) {
return;
});
var server = require('../server');
var server = require('../server')({
max_tcp_sockets: 5
});
server.listen(argv.port, function() {
log.info('server listening on port: %d', server.address().port);