summaryrefslogtreecommitdiff
path: root/lib/HttpServ.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/HttpServ.cc')
-rw-r--r--lib/HttpServ.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc
index 9ec6ba3..84078e0 100644
--- a/lib/HttpServ.cc
+++ b/lib/HttpServ.cc
@@ -26,6 +26,8 @@ void HttpServ::ProcessRequest(Action * p, Socket s) {
Action * f;
int len;
+ s.SetNonBlock();
+
c->Run();
delete c;