diff options
Diffstat (limited to 'lib/HttpServ.cc')
-rw-r--r-- | lib/HttpServ.cc | 6 |
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) { } |