diff -r 74babc0082b7 -r 50505dc3f8a6 src/server/daemon/sessionhandler.c --- a/src/server/daemon/sessionhandler.c Sun May 26 12:12:07 2013 +0200 +++ b/src/server/daemon/sessionhandler.c Sun May 26 22:05:41 2013 +0200 @@ -45,7 +45,7 @@ SessionHandler* create_basic_session_handler() { BasicSessionHandler *handler = malloc(sizeof(BasicSessionHandler)); - handler->threadpool = threadpool_new(8); + handler->threadpool = threadpool_new(4, 8); handler->sh.enqueue_connection = basic_enq_conn; @@ -239,7 +239,7 @@ EventHttpIO *io = event->cookie; HttpParser *parser = io->parser; HTTPRequest *request = io->request; - + int r = handle_request(request, NULL); if(r != 0) { // TODO: error message