summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/setup.h1
-rw-r--r--include/webserver.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index f36491c..faf6e02 100644
--- a/include/config.h
+++ b/include/config.h
@@ -48,6 +48,8 @@ struct cConfig {
*/
uint16_t webServerPort;
+ uint16_t maxRequestTime;
+
/**
* External web server URL
*
diff --git a/include/setup.h b/include/setup.h
index 392c246..7ec94c2 100644
--- a/include/setup.h
+++ b/include/setup.h
@@ -87,6 +87,7 @@ private:
int upnpport;
int wsport;
int lvport;
+ int mRTime;
char webserverRoot[STRING_SIZE];
char presentationUrl[STRING_SIZE];
diff --git a/include/webserver.h b/include/webserver.h
index 02377d7..5e03fbb 100644
--- a/include/webserver.h
+++ b/include/webserver.h
@@ -22,6 +22,7 @@ namespace upnp {
cWebserver(std::string address);
virtual ~cWebserver();
+ void SetMaxRequestTime(unsigned int seconds);
void SetWebserverRootDir(std::string rootDirectory);
void SetPresentationUrl(std::string presentationUrl);