From 052023c7c02b0fc5587355d939402377103adf2b Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Mon, 24 Feb 2020 11:50:50 +0000
Subject: [PATCH] Allow blog length posts

---
 daemon.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/daemon.py b/daemon.py
index f1090a1d..c0e3ba0e 100644
--- a/daemon.py
+++ b/daemon.py
@@ -5629,7 +5629,9 @@ def runDaemon(mediaInstance: bool,maxRecentPosts: int, \
     # max POST size of 30M
     httpd.maxPostLength=1024*1024*30
     httpd.maxMediaSize=httpd.maxPostLength
-    httpd.maxMessageLength=8000
+    # Maximum text length is 32K - enough for a blog post
+    httpd.maxMessageLength=32000
+    # Maximum overall number of posts per box
     httpd.maxPostsInBox=32000
     httpd.domain=domain
     httpd.port=port