From 14d7121185a9efb66949e11a476e78e6933e857b Mon Sep 17 00:00:00 2001 From: lps-rocks Date: Wed, 28 Aug 2019 10:44:09 -0500 Subject: [PATCH] Increase maximum SCGI request to 16MB (#905) --- src/rpc/scgi_task.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/scgi_task.h b/src/rpc/scgi_task.h index e75e9e1e..a42349bf 100644 --- a/src/rpc/scgi_task.h +++ b/src/rpc/scgi_task.h @@ -51,7 +51,7 @@ class SCgiTask : public torrent::Event { public: static const unsigned int default_buffer_size = 2047; static const int max_header_size = 2000; - static const int max_content_size = (2 << 20); + static const int max_content_size = (2 << 23); SCgiTask() { m_fileDesc = -1; }