aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGabriel Marinho <gabrielbiga@me.com>2015-04-13 18:51:32 -0300
committerGabriel Marinho <gabrielbiga@me.com>2015-04-13 18:51:32 -0300
commit441a9f6e615ee37ed863b2b3bcb50f8380cc39cb (patch)
tree36c35e36b77f37ed482421c85367684efad43aae /include
parent100f4a7b7366fc6fc6b92426487be25af7b67a57 (diff)
downloadcrow-441a9f6e615ee37ed863b2b3bcb50f8380cc39cb.tar.gz
crow-441a9f6e615ee37ed863b2b3bcb50f8380cc39cb.zip
Revert "Suggestion: Change the server name variable to a constant on settings.h"
This reverts commit 100f4a7b7366fc6fc6b92426487be25af7b67a57.
Diffstat (limited to 'include')
-rw-r--r--include/http_server.h3
-rw-r--r--include/settings.h3
2 files changed, 1 insertions, 5 deletions
diff --git a/include/http_server.h b/include/http_server.h
index 377a939..e7d9f4f 100644
--- a/include/http_server.h
+++ b/include/http_server.h
@@ -12,7 +12,6 @@
#include "http_connection.h"
#include "logging.h"
#include "dumb_timer_queue.h"
-#include "settings.h"
namespace crow
{
@@ -163,7 +162,7 @@ namespace crow
Handler* handler_;
uint16_t concurrency_{1};
- std::string server_name_ = CROW_SERVER_NAME;
+ std::string server_name_ = "Crow/0.1";
uint16_t port_;
unsigned int roundrobin_index_{};
diff --git a/include/settings.h b/include/settings.h
index fcccd56..31a39e3 100644
--- a/include/settings.h
+++ b/include/settings.h
@@ -2,9 +2,6 @@
// settings for crow
// TODO - replace with runtime config. libucl?
-// Server Name
-#define CROW_SERVER_NAME "Crow/0.1"
-
/* #ifdef - enables debug mode */
#define CROW_ENABLE_DEBUG