mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix typo in connection.cpp
limiation -> limitation
This commit is contained in:
parent
e4fe3bfe35
commit
04306a544f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue