http_protocol_handler: limit the number of starting newlines

This commit is contained in:
moneromooo-monero
2018-05-26 20:17:15 +01:00
parent 4d15864728
commit dfd36bbebb
3 changed files with 12 additions and 1 deletions
@@ -607,7 +607,7 @@ PRAGMA_WARNING_DISABLE_VS(4355)
{
if(ec == boost::asio::error::operation_aborted)
return;
MDEBUG("Connection timeout, closing");
MDEBUG(context << "connection timeout, closing");
self->close();
});
}