summaryrefslogtreecommitdiff
path: root/test/interactive-helper/makefile
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 /test/interactive-helper/makefile
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 'test/interactive-helper/makefile')
-rw-r--r--test/interactive-helper/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interactive-helper/makefile b/test/interactive-helper/makefile
index f43df97e3..8dc014b98 100644
--- a/test/interactive-helper/makefile
+++ b/test/interactive-helper/makefile
@@ -41,7 +41,7 @@ include $(PROGRAM_H)
# Program for testing udevcdrom
PROGRAM=aptwebserver
-SLIBS = -lapt-pkg
+SLIBS = -lapt-pkg -lpthread
LIB_MAKES = apt-pkg/makefile
SOURCE = aptwebserver.cc
include $(PROGRAM_H)