disables expensive debug log statement

This commit is contained in:
Peter Thorson
2011-12-14 11:18:01 -06:00
parent b4afdb44e8
commit 190cf42231

View File

@@ -351,7 +351,8 @@ void server<endpoint>::connection<connection_type>::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")) {