From 04306a544f87434c0ff2eaa2fce90450fed6dcab Mon Sep 17 00:00:00 2001 From: Andrei Stepanov Date: Tue, 20 Oct 2020 11:10:51 +0400 Subject: [PATCH] Fix typo in connection.cpp limiation -> limitation --- src/base/http/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/http/connection.cpp b/src/base/http/connection.cpp index d570fc32b..fe3685be1 100644 --- a/src/base/http/connection.cpp +++ b/src/base/http/connection.cpp @@ -66,7 +66,7 @@ void Connection::read() case RequestParser::ParseStatus::Incomplete: { const long bufferLimit = RequestParser::MAX_CONTENT_SIZE * 1.1; // some margin for headers if (m_receivedData.size() > bufferLimit) { - Logger::instance()->addMessage(tr("Http request size exceeds limiation, closing socket. Limit: %1, IP: %2") + Logger::instance()->addMessage(tr("Http request size exceeds limitation, closing socket. Limit: %1, IP: %2") .arg(bufferLimit).arg(m_socket->peerAddress().toString()), Log::WARNING); Response resp(413, "Payload Too Large");