Commit Diff


commit - 45ea045f54d365087cb301965fbc33e8bc2b18b1
commit + 2a3afd658a7310893750eda176b58753ec3b47b8
blob - ea11756a2bd8b873f48ca71082d2ced3fc260963
blob + 1359056f3684043421faf449d2d868ff02af7caa
--- vostok/request.h
+++ vostok/request.h
@@ -28,7 +28,7 @@ class Request (public)
     };
     ParseResult parse(/* out */ std::string &path);
 
-// private:
+private:
     std::string m_buffer;
 };
 
blob - 341cc92532e6ef1ef93de4c2dd90850a57ef276d
blob + 428b885281222a59dc18e8d06ca6457e49e47548
--- vostok/vostok.cc
+++ vostok/vostok.cc
@@ -75,13 +75,6 @@ void client_thread(const transport::AcceptedClient *ac
 
     std::string path;
     const auto parse_result = request.parse(path);
-    if (parse_result != Request::URL_OK)
-    {
-        error::g_log << "\"";
-        for (const auto byte : request.m_buffer)
-            error::g_log << "\\x" << std::hex << static_cast<int>(byte);
-        error::g_log << "\" ";
-    }
     switch (parse_result)
     {
     case Request::BAD_REQUEST: