summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-26 19:52:44 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-26 19:52:44 +0200
commita595932283a3f3bf002eff5bf044762b78cab5f0 (patch)
tree790ba05f95b3fd3d6790f8132f9f6f95f908f18a /config.cpp
parentc73f913844f6aed9e740780f8a6732477fa3d680 (diff)
crypt(3) http auth pws
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.cpp b/config.cpp
index 3750bcf..793fa67 100644
--- a/config.cpp
+++ b/config.cpp
@@ -3,6 +3,7 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
+#include <boost/timer/timer.hpp>
#include <algorithm>
#include <exception>
@@ -208,6 +209,8 @@ void Config::dump() const
// throws std::out_of_range if not found
const Path& Config::GetPath(const Socket& socket, const std::string& requested_host, const std::string& requested_path) const
{
+ //boost::timer::auto_cpu_timer t;
+
// TODO: speed this up
std::string host{requested_host};
const Path* result{nullptr};