diff --git a/lib/remote/httpserverconnection.cpp b/lib/remote/httpserverconnection.cpp index c06e381e2..53aefc497 100644 --- a/lib/remote/httpserverconnection.cpp +++ b/lib/remote/httpserverconnection.cpp @@ -489,7 +489,9 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc) Log(LogInformation, "HttpServerConnection") << "Request: " << request.method_string() << ' ' << request.target() << " (from " << m_PeerAddress - << "), user: " << (authenticatedUser ? authenticatedUser->GetName() : "") << ')'; + << "), user: " << (authenticatedUser ? authenticatedUser->GetName() : "") + << ", agent: " << request[http::field::user_agent] << ")."; //operator[] - Returns the value for a field, or "" if it does not exist. + if (!HandleAccessControl(*m_Stream, request, response, yc)) { break;