summaryrefslogtreecommitdiff
path: root/apt-private/private-main.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-10-16 22:45:37 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-11-30 12:38:26 +0100
commit575fe03ee310c740bfa2950aa55b3358e8a60eee (patch)
tree930d6ef6fe5a1c7f54a8920d04bd850698430caf /apt-private/private-main.cc
parentd23bda42456bd092751deb24d8295c27a15721e8 (diff)
webserver: use pthreads to handle multiple clients
Clients like browsers prefer to open many connections and keep them open for a while, so that pages with lot of subelements would take a while to load (if at all), by using threads as all servers do some way or another we can resolve this. libapt is not intended to be pthread-safe and stuff like the storage of the last return code doesn't make too much sense if multiple clients interact with us, but it is good enough for now and an other interesting (mis)use of libapt in general. Git-Dch: Ignore
Diffstat (limited to 'apt-private/private-main.cc')
0 files changed, 0 insertions, 0 deletions