From fc4989d73842698cf5f0099c8ab1a474584000cd Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 26 May 2012 10:29:20 +0300 Subject: [PATCH] Remove 100kb limit for torrent file size in Web UI --- src/webui/httpconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp index 2fcd68b22..03a4f9c2d 100644 --- a/src/webui/httpconnection.cpp +++ b/src/webui/httpconnection.cpp @@ -103,7 +103,7 @@ void HttpConnection::read() { const int expected_length = m_parser.header().contentLength(); QByteArray message = input.mid(header_end + 4, expected_length); - if (expected_length > 100000) { + if (expected_length > 10000000) { qWarning() << "Bad request: message too long"; m_generator.setStatusLine(400, "Bad Request"); input.clear();