Merge pull request #9966 from Icinga/Al2Klimov-patch-3

HttpServerConnection: remove duplicate ")" from a log message
This commit is contained in:
Alexander Aleksandrovič Klimov 2024-01-18 10:46:51 +01:00 committed by GitHub
commit e9fcbf400f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ void HttpServerConnection::ProcessMessages(boost::asio::yield_context yc)
logMsg << "Request " << request.method_string() << ' ' << request.target()
<< " (from " << m_PeerAddress
<< "), user: " << (authenticatedUser ? authenticatedUser->GetName() : "<unauthenticated>")
<< ", user: " << (authenticatedUser ? authenticatedUser->GetName() : "<unauthenticated>")
<< ", agent: " << request[http::field::user_agent]; //operator[] - Returns the value for a field, or "" if it does not exist.
Defer addRespCode ([&response, start, &logMsg]() {