Commit Diff


commit - ddda3dca68828e68eece9b72e7f46a21e7ac5238
commit + f75e0f1a72dbf7c35a7025aa53287d5c8c1af5a7
blob - ab64a0d3c3bcfff3e9c9208ee76857f354f27d78
blob + 80f5fd39ef57ac01af4d912703a1fab13a12890e
--- vostok/vostok.cc
+++ vostok/vostok.cc
@@ -83,6 +83,10 @@ void client_thread(const transport::AcceptedClient *ac
         return;
     case Request::URL_NON_GEMINI:
         error::occurred("Parse request", []{error::g_log << meta::NON_GEMINI;});
+        error::g_log << std::dec << request.m_buffer.size();
+        for (const auto byte : request.m_buffer)
+            error::g_log << " 0x" << std::hex << static_cast<int>(byte);
+        error::g_log << std::endl;
         send_response(accepted_client->get_ctx(), gemini::STATUS_53_PROXY_REQUEST_REFUSED, meta::NON_GEMINI);
         return;
     case Request::URL_ROOT_TRAVERSE: