summaryrefslogtreecommitdiffhomepage
path: root/server.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-18 15:07:33 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-18 15:07:33 +0200
commit5400eaea898bcf6526d5c18fa8c274ee51081002 (patch)
tree437d91f177860bcca2f0900bb4018dfc15b35c21 /server.cpp
parent39bd177bdb80c24e73f7cf3db4239e55e13eb152 (diff)
CGI interface
Diffstat (limited to 'server.cpp')
-rw-r--r--server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.cpp b/server.cpp
index 395be7d..81ee454 100644
--- a/server.cpp
+++ b/server.cpp
@@ -35,6 +35,8 @@ namespace net = boost::asio; // from <boost/asio.hpp>
namespace ssl = boost::asio::ssl; // from <boost/asio/ssl.hpp>
using tcp = boost::asio::ip::tcp; // from <boost/asio/ip/tcp.hpp>
+const std::string Server::VersionString{ "Webserver "s + std::string{VERSION} };
+
Server::Server(Config& config, boost::asio::io_context& ioc, const Socket& socket, plugins_container_type& plugins)
: m_config(config)
, m_ioc(ioc)