[http_server] Use a QThreadPool instead of spawning threads
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 9 Jan 2010 13:35:24 +0000 (14:35 +0100)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sat, 9 Jan 2010 13:36:59 +0000 (14:36 +0100)
commit0205c64b84cf00a84b2efe0ace14af694601cbbd
treeab068b5e322a03597df396ae695d043a90e9ae9e
parent84da1d3d8ce2a931c673fb8fa2b776de5291a1a1
[http_server] Use a QThreadPool instead of spawning threads

This change gurantees that we will not handle more than
8 requests at a time and do not generate too much load.
host-tools/http_server/http_server.cpp