summaryrefslogtreecommitdiff
path: root/lib/httpserver/HTTPServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/httpserver/HTTPServer.h')
-rw-r--r--lib/httpserver/HTTPServer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/httpserver/HTTPServer.h b/lib/httpserver/HTTPServer.h
index 91f4e96c..8ac1ff83 100644
--- a/lib/httpserver/HTTPServer.h
+++ b/lib/httpserver/HTTPServer.h
@@ -27,7 +27,8 @@ class HTTPResponse;
class HTTPServer : public ServerStream<SocketStream, 80>
{
public:
- HTTPServer();
+ HTTPServer(int Timeout = 60000);
+ // default timeout leaves 1 minute for clients to get a second request in.
~HTTPServer();
private:
// no copying