summarylogtreecommitdiffstats
path: root/ps-max_scgi_size_all.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ps-max_scgi_size_all.patch')
-rw-r--r--ps-max_scgi_size_all.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ps-max_scgi_size_all.patch b/ps-max_scgi_size_all.patch
new file mode 100644
index 00000000000..fd7ffae30e1
--- /dev/null
+++ b/ps-max_scgi_size_all.patch
@@ -0,0 +1,13 @@
+diff --git a/src/rpc/scgi_task.h b/src/rpc/scgi_task.h
+index e75e9e1..c36de13 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; }
+