summaryrefslogtreecommitdiff
path: root/lib/HttpServ.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-27 20:16:05 +0000
committerPixel <Pixel>2001-11-27 20:16:05 +0000
commit5212a0752902e64bbd0e24b5c84edb0350e2d3f8 (patch)
treeaf1ea861fbb67d60a04e1fe4d740fd8edc9c8479 /lib/HttpServ.cc
parent76b2e3c19278da49193aa1599a35197b279b4439 (diff)
Last (?) bug of TaskMan.
Diffstat (limited to 'lib/HttpServ.cc')
-rw-r--r--lib/HttpServ.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc
index 75b6800..602ebe0 100644
--- a/lib/HttpServ.cc
+++ b/lib/HttpServ.cc
@@ -37,7 +37,9 @@ class ProcessRequest : public Task {
bool bad, hasvars, post;
};
-ProcessRequest::ProcessRequest(Action * ap, const Socket & as, const String & aname, int aport) : localport(aport), p(ap), s(as), name(aname) { }
+ProcessRequest::ProcessRequest(Action * ap, const Socket & as, const String & aname, int aport) : localport(aport), p(ap), s(as), name(aname) {
+ SetBurst();
+}
String ProcessRequest::GetName() {
return "Processing HTTP request";
@@ -420,8 +422,6 @@ int HttpServ::Do() {
Socket s = Listener.Accept();
s.SetNonBlock();
r = new ProcessRequest(p, s, name, localport);
- r->SetBurst();
- r->SetCleanUp();
}
catch (GeneralException) {
}