From 190cf422314782704ae5f8739d5e4fb93eec8c76 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Wed, 14 Dec 2011 11:18:01 -0600 Subject: [PATCH] disables expensive debug log statement --- src/roles/server.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roles/server.hpp b/src/roles/server.hpp index 5afaffdb06..9acfcab889 100644 --- a/src/roles/server.hpp +++ b/src/roles/server.hpp @@ -351,7 +351,8 @@ void server::connection::handle_read_request( throw http::exception("Recieved invalid HTTP Request",http::status_code::BAD_REQUEST); } - m_endpoint.alog().at(log::alevel::DEBUG_HANDSHAKE) << m_request.raw() << log::endl; + // TODO: is there a way to short circuit this or something? + //m_endpoint.alog().at(log::alevel::DEBUG_HANDSHAKE) << m_request.raw() << log::endl; std::string h = m_request.header("Upgrade"); if (boost::ifind_first(h,"websocket")) {